#CA9FDF#CA9FDF

#CA9FDF is a light, moderate purple. Relative luminance 0.427; OKLCH L 76.4% C 0.101 H 314.4°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#CA9FDF
RGBrgb(202, 159, 223)
HSLhsl(280, 50%, 75%)
HSVhsv(280, 29%, 87%)
CMYKcmyk(9.4%, 28.7%, 0%, 12.5%)
CIE-LABlab(71.34, 27.36, -26.36)
CIE-LCHlch(71.34, 37.99, 316.07°)
OKLaboklab(76.37% 0.0704 -0.0719)
OKLCHoklch(76.37% 0.101 314.4)
XYZxyz(50.0724, 42.6813, 75.3983)
Luminance0.4268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA9FDF #B4DF9F
analogous
#AA9FDF #CA9FDF #DF9FD4
triadic
#CA9FDF #DFCA9F #9FDFCA
tetradic
#CA9FDF #DFAA9F #B4DF9F #9FD4DF
square
#CA9FDF #DFAA9F #B4DF9F #9FD4DF
split-complementary
#CA9FDF #D4DF9F #9FDFAA
monochromatic
#9743C0 #B171D0 #CA9FDF #E3CDEE #F2E8F7

Accessibility & contrast

On white

2.20
#CA9FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#CA9FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA9FDF
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA9FDF#FFFFFF#000000##000000
##CA9FDF1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE2
Deuteranopia (green-blind)
#9FB0DD
Tritanopia (blue-blind)
#C9A7B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ca9fdf;
/* rgb */ color: rgb(202, 159, 223);
/* oklch */ color: oklch(76.4% 0.101 314.4);
Tailwind
colors: {
  custom: {
    50: '#dabbe9',
    500: '#ca9fdf',
    950: '#000000',
  },
}
SCSS
$custom: #ca9fdf;
$custom-light: #dabbe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca9fdf",
  "rgb": {
    "r": 202,
    "g": 159,
    "b": 223
  },
  "hsl": {
    "h": 280.313,
    "s": 50,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76366,
    "c": 0.10066,
    "h": 314.4
  },
  "luminance": 0.42681
}

Semantic roles & 50–950 ramp

primary
#CA9FDF
secondary
#E2EEDD
accent
#BD2859
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CA9FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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