#CD9FD2#CD9FD2

#CD9FD2 is a light, moderate purple. Relative luminance 0.424; OKLCH L 76.1% C 0.088 H 323.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CD9FD2
RGBrgb(205, 159, 210)
HSLhsl(294, 36%, 72%)
HSVhsv(294, 24%, 82%)
CMYKcmyk(2.4%, 24.3%, 0%, 17.6%)
CIE-LABlab(71.17, 25.76, -19.45)
CIE-LCHlch(71.17, 32.28, 322.95°)
OKLaboklab(76.15% 0.07 -0.0525)
OKLCHoklch(76.15% 0.088 323.1)
XYZxyz(49.2064, 42.4297, 66.5579)
Luminance0.4243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FD2 #A4D29F
analogous
#B49FD2 #CD9FD2 #D29FBD
triadic
#CD9FD2 #D2CD9F #9FD2CD
tetradic
#CD9FD2 #D2B49F #A4D29F #9FBDD2
square
#CD9FD2 #D2B49F #A4D29F #9FBDD2
split-complementary
#CD9FD2 #BDD29F #9FD2B4
monochromatic
#9F4FA8 #B775BE #CD9FD2 #E3C9E6 #F4EAF5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD9FD2#FFFFFF#000000##000000
##CD9FD21.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)
#9BABD4
Deuteranopia (green-blind)
#A5B0D0
Tritanopia (blue-blind)
#CFA4B1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9fd2;
/* rgb */ color: rgb(205, 159, 210);
/* oklch */ color: oklch(76.1% 0.088 323.1);
Tailwind
colors: {
  custom: {
    50: '#dcbbdf',
    500: '#cd9fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fd2;
$custom-light: #dcbbdf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fd2",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 210
  },
  "hsl": {
    "h": 294.118,
    "s": 36.17,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7615,
    "c": 0.08755,
    "h": 323.1
  },
  "luminance": 0.42429
}

Semantic roles & 50–950 ramp

primary
#CD9FD2
secondary
#E0ECDF
accent
#AF3642
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CD9FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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