#CA9FDB#CA9FDB

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

Color values

HEX#CA9FDB
RGBrgb(202, 159, 219)
HSLhsl(283, 45%, 74%)
HSVhsv(283, 27%, 86%)
CMYKcmyk(7.8%, 27.4%, 0%, 14.1%)
CIE-LABlab(71.19, 26.55, -24.39)
CIE-LCHlch(71.19, 36.05, 317.44°)
OKLaboklab(76.21% 0.0693 -0.0664)
OKLCHoklch(76.21% 0.096 316.2)
XYZxyz(49.5395, 42.4682, 72.5916)
Luminance0.4247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FDB #B0DB9F
analogous
#AC9FDB #CA9FDB #DB9FCE
triadic
#CA9FDB #DBCA9F #9FDBCA
tetradic
#CA9FDB #DBAC9F #B0DB9F #9FCEDB
square
#CA9FDB #DBAC9F #B0DB9F #9FCEDB
split-complementary
#CA9FDB #CEDB9F #9FDBAC
monochromatic
#9946BA #B172CA #CA9FDB #E3CCEC #F3E9F7

Accessibility & contrast

On white

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

On black

9.49
#CA9FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FDB
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FDB#FFFFFF#000000##000000
##CA9FDB1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca9fdb;
/* rgb */ color: rgb(202, 159, 219);
/* oklch */ color: oklch(76.2% 0.096 316.2);
Tailwind
colors: {
  custom: {
    50: '#dabbe6',
    500: '#ca9fdb',
    950: '#000000',
  },
}
SCSS
$custom: #ca9fdb;
$custom-light: #dabbe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9fdb",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 219
  },
  "hsl": {
    "h": 283,
    "s": 45.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76207,
    "c": 0.09596,
    "h": 316.2
  },
  "luminance": 0.42467
}

Semantic roles & 50–950 ramp

primary
#CA9FDB
secondary
#E2EEDD
accent
#B92D54
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CA9FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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