#CA9FDC#CA9FDC

#CA9FDC is a light, moderate purple. Relative luminance 0.425; OKLCH L 76.2% C 0.097 H 315.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CA9FDC
RGBrgb(202, 159, 220)
HSLhsl(282, 47%, 74%)
HSVhsv(282, 28%, 86%)
CMYKcmyk(8.2%, 27.7%, 0%, 13.7%)
CIE-LABlab(71.23, 26.76, -24.88)
CIE-LCHlch(71.23, 36.54, 317.08°)
OKLaboklab(76.25% 0.0696 -0.0678)
OKLCHoklch(76.25% 0.097 315.8)
XYZxyz(49.6716, 42.5210, 73.2870)
Luminance0.4252 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FDC #B1DC9F
analogous
#AC9FDC #CA9FDC #DC9FD0
triadic
#CA9FDC #DCCA9F #9FDCCA
tetradic
#CA9FDC #DCAC9F #B1DC9F #9FD0DC
square
#CA9FDC #DCAC9F #B1DC9F #9FD0DC
split-complementary
#CA9FDC #D0DC9F #9FDCAC
monochromatic
#9845BB #B172CC #CA9FDC #E3CCEC #F3E9F7

Accessibility & contrast

On white

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

On black

9.50
#CA9FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FDC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FDC#FFFFFF#000000##000000
##CA9FDC1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDE
Deuteranopia (green-blind)
#A0B0DA
Tritanopia (blue-blind)
#C9A6B5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ca9fdc;
/* rgb */ color: rgb(202, 159, 220);
/* oklch */ color: oklch(76.2% 0.097 315.8);
Tailwind
colors: {
  custom: {
    50: '#dabbe7',
    500: '#ca9fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ca9fdc;
$custom-light: #dabbe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9fdc",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 220
  },
  "hsl": {
    "h": 282.295,
    "s": 46.565,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76246,
    "c": 0.09713,
    "h": 315.8
  },
  "luminance": 0.4252
}

Semantic roles & 50–950 ramp

primary
#CA9FDC
secondary
#E2EEDD
accent
#BA2C56
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CA9FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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