#CA9FD2#CA9FD2

#CA9FD2 is a light, moderate purple. Relative luminance 0.420; OKLCH L 75.9% C 0.086 H 321.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#CA9FD2
RGBrgb(202, 159, 210)
HSLhsl(291, 36%, 72%)
HSVhsv(291, 24%, 82%)
CMYKcmyk(3.8%, 24.3%, 0%, 17.6%)
CIE-LABlab(70.88, 24.77, -19.92)
CIE-LCHlch(70.88, 31.79, 321.20°)
OKLaboklab(75.86% 0.0666 -0.0539)
OKLCHoklch(75.86% 0.086 321)
XYZxyz(48.3866, 42.0070, 66.5195)
Luminance0.4201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FD2 #A7D29F
analogous
#B19FD2 #CA9FD2 #D29FC1
triadic
#CA9FD2 #D2CA9F #9FD2CA
tetradic
#CA9FD2 #D2B19F #A7D29F #9FC1D2
square
#CA9FD2 #D2B19F #A7D29F #9FC1D2
split-complementary
#CA9FD2 #C1D29F #9FD2B1
monochromatic
#9A4FA8 #B375BE #CA9FD2 #E1C9E6 #F3EAF5

Accessibility & contrast

On white

2.23
#CA9FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#CA9FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FD2
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FD2#FFFFFF#000000##000000
##CA9FD21.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AAAD4
Deuteranopia (green-blind)
#A3AFD0
Tritanopia (blue-blind)
#CBA4B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ca9fd2;
/* rgb */ color: rgb(202, 159, 210);
/* oklch */ color: oklch(75.9% 0.086 321.0);
Tailwind
colors: {
  custom: {
    50: '#dabbe0',
    500: '#ca9fd2',
    950: '#000000',
  },
}
SCSS
$custom: #ca9fd2;
$custom-light: #dabbe0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9fd2",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 210
  },
  "hsl": {
    "h": 290.588,
    "s": 36.17,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7586,
    "c": 0.08569,
    "h": 321
  },
  "luminance": 0.42006
}

Semantic roles & 50–950 ramp

primary
#CA9FD2
secondary
#E1ECDF
accent
#AF3649
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CA9FD2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CA9FD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva