Skip to content

#ca5fd2

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

RGB
202, 95, 210
HSL
296°, 56%, 60%
CMYK
4, 55, 0, 18
Luminance
0.2539

At a glance

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

Hex
#ca5fd2
Hue
296°
magenta / pink
Saturation
56%
vivid
Lightness
60%
balanced
Brightness
82%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2539
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
6.08:1
Closest name
Medium Orchid
ΔE2000 4.4
Where it sits
Hue296° of 360°
Saturation56%
Lightness60%
Temperature
Warm ← → Cool52% 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#ca5fd2
RGBrgb(202, 95, 210)
HSLhsl(296, 56%, 60%)
CMYKcmyk(4%, 55%, 0%, 18%)
LABlab(57.5 58.3 -40.7)
LCHlch(57.5 71.1 325.1)
OKLCHoklch(0.658 0.195 324.8)
Decimal13262802
Display P3color(display-p3 0.792 0.373 0.824)

Copy-ready code

/* CSS */
color: #ca5fd2;
background-color: #ca5fd2;
/* Tailwind (arbitrary) */
class="text-[#ca5fd2] bg-[#ca5fd2]"
/* SCSS */
$brand: #ca5fd2;
/* SwiftUI */
Color(red: 0.792, green: 0.373, blue: 0.824)
/* Android */
Color.parseColor("#ca5fd2")
/* Flutter */
Color(0xFFCA5FD2)
/* Python / OpenCV (BGR) */
(210, 95, 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 #ca5fd2 · 6.08:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.45:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.08:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ca5fd2 as text scores 3.45:1 on white and 6.08:1 on black.

Accessibility — WCAG contrast

Aa
#ca5fd2 on white: 3.45:1
AA ✗ fail · AA-large · AAA
Aa
#ca5fd2 on black: 6.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4F82D6
deuteranopia · #728FCF
tritanopia · #CE6E90

Color scale — 50 to 950

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

#FAF4FB
#F5E9F6
#ECCDEE
#E2A7E6
#D37CDA
#ca5fd2
#B536BF
#972D9F
#79247F
#581E5D
#37133A
Base = 500Lightest = 50 · #FAF4FBDarkest = 950 · #37133A
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F5E9F6;
  --brand-200: #ECCDEE;
  --brand-300: #E2A7E6;
  --brand-400: #D37CDA;
  --brand-500: #ca5fd2;
  --brand-600: #B536BF;
  --brand-700: #972D9F;
  --brand-800: #79247F;
  --brand-900: #581E5D;
  --brand-950: #37133A;
  --brand: #ca5fd2;
  --brand-ink: #000000;
}

Colors that work with #ca5fd2

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#50A329
Second voice, not a rival
Dark variant#5F1C64
Hover, pressed, headers
Light variant#F8EBF9
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 #ca5fd2

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#67D25F
Analogous left#905FD2
Analogous right#D25FA1
Split-complement 1#A1D25F
Split-complement 2#5FD290
Triadic 1#D2CA5F
Triadic 2#5FD2CA
Tetradic#D2905F

RGB percentages

Red79.2%
Green37.3%
Blue82.4%

CMYK percentages

Cyan3.8%
Magenta54.8%
Yellow0.0%
Key (black)17.6%

Color previews

#ca5fd2 text on a black background

contrast 6.08:1

Card sample

#ca5fd2 text on a white background

contrast 3.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca5fd2

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.

#ca5fd2 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.

#ca5fd2, answered

What color is #ca5fd2?

#ca5fd2 is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 4.4). It sits at 296° on the hue wheel with 56% saturation and 60% lightness, which reads as neutral.

What is the RGB value of #ca5fd2?

rgb(202, 95, 210) — 202 red, 95 green and 210 blue out of 255, or 79.2% / 37.3% / 82.4% by channel.

Is #ca5fd2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2539 and perceived brightness is 59%, so black text on it reaches 6.08:1.

Should I use black or white text on #ca5fd2?

Black. It scores 6.08:1 against #ca5fd2, versus 3.45:1 for white — AA at any size.

What is the complementary color of #ca5fd2?

#67D25F sits directly opposite on the wheel. Softer options are the split-complements #A1D25F and #5FD290, which give the same contrast with far less vibration.

What colors go well with #ca5fd2?

For interface work: #FAF4FA as the surface, #E9C0ED for borders, #954B9B for secondary text, #50A329 as an accent and #5F1C64 for hover and pressed states. For a palette, the analogous pair #905FD2 and #D25FA1 stays calm, while #67D25F is the loudest partner.

What is #ca5fd2 in CMYK for printing?

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

Is #ca5fd2 warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D25FB0; nudged cooler, #A05DD4.

Work with #ca5fd2 in the Color Lab