#CD9DF4#CD9DF4

#CD9DF4 is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.2% C 0.131 H 308.9°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CD9DF4
RGBrgb(205, 157, 244)
HSLhsl(273, 80%, 79%)
HSVhsv(273, 36%, 96%)
CMYKcmyk(16%, 35.7%, 0%, 4.3%)
CIE-LABlab(71.98, 33.78, -36.82)
CIE-LCHlch(71.98, 49.97, 312.53°)
OKLaboklab(77.19% 0.082 -0.1016)
OKLCHoklch(77.19% 0.131 308.9)
XYZxyz(53.5599, 43.6253, 91.1694)
Luminance0.4363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DF4 #C4F49D
analogous
#A19DF4 #CD9DF4 #F49DF0
triadic
#CD9DF4 #F4CD9D #9DF4CD
tetradic
#CD9DF4 #F4A19D #C4F49D #9DF0F4
square
#CD9DF4 #F4A19D #C4F49D #9DF0F4
split-complementary
#CD9DF4 #F0F49D #9DF4A1
monochromatic
#952FE8 #B166EE #CD9DF4 #E9D4FA #F1E3FC

Accessibility & contrast

On white

2.16
#CD9DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#CD9DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DF4
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DF4#FFFFFF#000000##000000
##CD9DF41.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAEF7
Deuteranopia (green-blind)
#97B1F2
Tritanopia (blue-blind)
#C8AABD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9df4;
/* rgb */ color: rgb(205, 157, 244);
/* oklch */ color: oklch(77.2% 0.131 308.9);
Tailwind
colors: {
  custom: {
    50: '#ddbaf8',
    500: '#cd9df4',
    950: '#000000',
  },
}
SCSS
$custom: #cd9df4;
$custom-light: #ddbaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9df4",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 244
  },
  "hsl": {
    "h": 273.103,
    "s": 79.817,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77188,
    "c": 0.13057,
    "h": 308.9
  },
  "luminance": 0.43625
}

Semantic roles & 50–950 ramp

primary
#CD9DF4
secondary
#E4F4D7
accent
#DC0968
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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