Skip to content

#ca2fd7

a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid

RGB
202, 47, 215
HSL
295°, 68%, 51%
CMYK
6, 78, 0, 16
Luminance
0.1950

At a glance

Every number on this page in one read: what #ca2fd7 is made of, how bright it looks, and which way it leans.

Hex
#ca2fd7
Hue
295°
magenta / pink
Saturation
68%
vivid
Lightness
51%
balanced
Brightness
84%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1950
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
4.90:1
Closest name
Medium Orchid
ΔE2000 5.1
Where it sits
Hue295° of 360°
Saturation68%
Lightness51%
Temperature
Warm ← → Cool53% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ca2fd7
RGBrgb(202, 47, 215)
HSLhsl(295, 68%, 51%)
CMYKcmyk(6%, 78%, 0%, 16%)
LABlab(51.3 77.2 -53.3)
LCHlch(51.3 93.9 325.4)
OKLCHoklch(0.614 0.257 324.6)
Decimal13250519
Display P3color(display-p3 0.792 0.184 0.843)

Copy-ready code

/* CSS */
color: #ca2fd7;
background-color: #ca2fd7;
/* Tailwind (arbitrary) */
class="text-[#ca2fd7] bg-[#ca2fd7]"
/* SCSS */
$brand: #ca2fd7;
/* SwiftUI */
Color(red: 0.792, green: 0.184, blue: 0.843)
/* Android */
Color.parseColor("#ca2fd7")
/* Flutter */
Color(0xFFCA2FD7)
/* Python / OpenCV (BGR) */
(215, 47, 202)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ca2fd7 · 4.90:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.29:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.90:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ca2fd7 as text scores 4.29:1 on white and 4.90:1 on black.

Accessibility — WCAG contrast

Aa
#ca2fd7 on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#ca2fd7 on black: 4.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006EDB
deuteranopia · #5380D3
tritanopia · #CE5084

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ca2fd7 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBF3FB
#F7E8F8
#EFCAF2
#E7A1ED
#DB72E4
#CF43DB
#ca2fd7
#A021AB
#801A89
#5D1763
#3A0E3E
Base = 600Lightest = 50 · #FBF3FBDarkest = 950 · #3A0E3E
:root {
  --brand-50: #FBF3FB;
  --brand-100: #F7E8F8;
  --brand-200: #EFCAF2;
  --brand-300: #E7A1ED;
  --brand-400: #DB72E4;
  --brand-500: #CF43DB;
  --brand-600: #ca2fd7;
  --brand-700: #A021AB;
  --brand-800: #801A89;
  --brand-900: #5D1763;
  --brand-950: #3A0E3E;
  --brand: #ca2fd7;
  --brand-ink: #000000;
}

Colors that work with #ca2fd7

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#E9C0ED
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#4DAF1D
Second voice, not a rival
Dark variant#64156B
Hover, pressed, headers
Light variant#FAEAFB
Selected rows, tints
Dark surface#231424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ca2fd7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#3CD72F
Analogous left#762FD7
Analogous right#D72F90
Split-complement 1#90D72F
Split-complement 2#2FD776
Triadic 1#D7CA2F
Triadic 2#2FD7CA
Tetradic#D7762F

RGB percentages

Red79.2%
Green18.4%
Blue84.3%

CMYK percentages

Cyan6.0%
Magenta78.1%
Yellow0.0%
Key (black)15.7%

Color previews

#ca2fd7 text on a black background

contrast 4.90:1

Card sample

#ca2fd7 text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ca2fd7;
Background color
Panel with #ca2fd7 background
background-color: #ca2fd7;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ca2fd7;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(202, 47, 215, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 47, 215, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ca2fd7;
background: linear-gradient(135deg, #ca2fd7, #D72F74);

Monochromatic scale

Palettes built from #ca2fd7

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ca2fd7 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#ca2fd7, answered

What color is #ca2fd7?

#ca2fd7 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 5.1). It sits at 295° on the hue wheel with 68% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #ca2fd7?

rgb(202, 47, 215) — 202 red, 47 green and 215 blue out of 255, or 79.2% / 18.4% / 84.3% by channel.

Is #ca2fd7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1950 and perceived brightness is 54%, so black text on it reaches 4.90:1.

Should I use black or white text on #ca2fd7?

Black. It scores 4.90:1 against #ca2fd7, versus 4.29:1 for white — AA at any size.

What is the complementary color of #ca2fd7?

#3CD72F sits directly opposite on the wheel. Softer options are the split-complements #90D72F and #2FD776, which give the same contrast with far less vibration.

What colors go well with #ca2fd7?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #954B9B for secondary text, #4DAF1D as an accent and #64156B for hover and pressed states. For a palette, the analogous pair #762FD7 and #D72F90 stays calm, while #3CD72F is the loudest partner.

What is #ca2fd7 in CMYK for printing?

cmyk(6%, 78%, 0%, 16%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ca2fd7 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D72FA6; nudged cooler, #8D2DD9.

Work with #ca2fd7 in the Color Lab