#CD9FCA#CD9FCA

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

Color values

HEX#CD9FCA
RGBrgb(205, 159, 202)
HSLhsl(304, 32%, 71%)
HSVhsv(304, 22%, 80%)
CMYKcmyk(0%, 22.4%, 1.5%, 19.6%)
CIE-LABlab(70.90, 24.25, -15.44)
CIE-LCHlch(70.90, 28.75, 327.51°)
OKLaboklab(75.86% 0.0675 -0.0414)
OKLCHoklch(75.86% 0.079 328.5)
XYZxyz(48.2346, 42.0410, 61.4395)
Luminance0.4204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FCA #9FCDA2
analogous
#B99FCD #CD9FCA #CD9FB3
triadic
#CD9FCA #CACD9F #9FCACD
tetradic
#CD9FCA #CDB99F #9FCDA2 #9FB3CD
square
#CD9FCA #CDB99F #9FCDA2 #9FB3CD
split-complementary
#CD9FCA #B3CD9F #9FCDB9
monochromatic
#9F539A #B877B4 #CD9FCA #E2C7E0 #F5EBF4

Accessibility & contrast

On white

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

On black

9.41
#CD9FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FCA
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FCA#FFFFFF#000000##000000
##CD9FCA1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DAACC
Deuteranopia (green-blind)
#A7B0C8
Tritanopia (blue-blind)
#D1A2AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9fca;
/* rgb */ color: rgb(205, 159, 202);
/* oklch */ color: oklch(75.9% 0.079 328.5);
Tailwind
colors: {
  custom: {
    50: '#dcbbda',
    500: '#cd9fca',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fca;
$custom-light: #dcbbda;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fca",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 202
  },
  "hsl": {
    "h": 303.913,
    "s": 31.507,
    "l": 71.373
  },
  "oklch": {
    "l": 0.75856,
    "c": 0.07923,
    "h": 328.5
  },
  "luminance": 0.4204
}

Semantic roles & 50–950 ramp

primary
#CD9FCA
secondary
#DEEADF
accent
#AA423B
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151214
muted
#838183

Preview Lab

Preview with #CD9FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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