#CA9FDA#CA9FDA

#CA9FDA is a light, moderate purple. Relative luminance 0.424; OKLCH L 76.2% C 0.095 H 316.7°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#CA9FDA
RGBrgb(202, 159, 218)
HSLhsl(284, 44%, 74%)
HSVhsv(284, 27%, 85%)
CMYKcmyk(7.3%, 27.1%, 0%, 14.5%)
CIE-LABlab(71.16, 26.35, -23.89)
CIE-LCHlch(71.16, 35.57, 317.81°)
OKLaboklab(76.17% 0.069 -0.065)
OKLCHoklch(76.17% 0.095 316.7)
XYZxyz(49.4083, 42.4157, 71.9003)
Luminance0.4242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FDA #AFDA9F
analogous
#AD9FDA #CA9FDA #DA9FCD
triadic
#CA9FDA #DACA9F #9FDACA
tetradic
#CA9FDA #DAAD9F #AFDA9F #9FCDDA
square
#CA9FDA #DAAD9F #AFDA9F #9FCDDA
split-complementary
#CA9FDA #CDDA9F #9FDAAD
monochromatic
#9947B8 #B273C9 #CA9FDA #E2CBEB #F3E9F6

Accessibility & contrast

On white

2.21
#CA9FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#CA9FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FDA
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FDA#FFFFFF#000000##000000
##CA9FDA1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ABDC
Deuteranopia (green-blind)
#A1B0D8
Tritanopia (blue-blind)
#CAA6B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9fda;
/* rgb */ color: rgb(202, 159, 218);
/* oklch */ color: oklch(76.2% 0.095 316.7);
Tailwind
colors: {
  custom: {
    50: '#dabbe5',
    500: '#ca9fda',
    950: '#000000',
  },
}
SCSS
$custom: #ca9fda;
$custom-light: #dabbe5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9fda",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 218
  },
  "hsl": {
    "h": 283.729,
    "s": 44.361,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76167,
    "c": 0.09479,
    "h": 316.7
  },
  "luminance": 0.42415
}

Semantic roles & 50–950 ramp

primary
#CA9FDA
secondary
#E2EDDE
accent
#B82E53
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151215
muted
#838184

Preview Lab

Preview with #CA9FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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