#CD9DF5#CD9DF5

#CD9DF5 is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.2% C 0.132 H 308.6°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#CD9DF5
RGBrgb(205, 157, 245)
HSLhsl(273, 81%, 79%)
HSVhsv(273, 36%, 96%)
CMYKcmyk(16.3%, 35.9%, 0%, 3.9%)
CIE-LABlab(72.02, 33.99, -37.30)
CIE-LCHlch(72.02, 50.47, 312.34°)
OKLaboklab(77.23% 0.0822 -0.103)
OKLCHoklch(77.23% 0.132 308.6)
XYZxyz(53.7122, 43.6862, 91.9712)
Luminance0.4369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DF5 #C5F59D
analogous
#A19DF5 #CD9DF5 #F59DF1
triadic
#CD9DF5 #F5CD9D #9DF5CD
tetradic
#CD9DF5 #F5A19D #C5F59D #9DF1F5
square
#CD9DF5 #F5A19D #C5F59D #9DF1F5
split-complementary
#CD9DF5 #F1F59D #9DF5A1
monochromatic
#942EEA #B165EF #CD9DF5 #E9D5FB #F1E3FC

Accessibility & contrast

On white

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

On black

9.74
#CD9DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DF5
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DF5#FFFFFF#000000##000000
##CD9DF51.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAEF8
Deuteranopia (green-blind)
#96B1F2
Tritanopia (blue-blind)
#C8AABE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9df5;
/* rgb */ color: rgb(205, 157, 245);
/* oklch */ color: oklch(77.2% 0.132 308.6);
Tailwind
colors: {
  custom: {
    50: '#ddbaf8',
    500: '#cd9df5',
    950: '#000000',
  },
}
SCSS
$custom: #cd9df5;
$custom-light: #ddbaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9df5",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 245
  },
  "hsl": {
    "h": 272.727,
    "s": 81.481,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77233,
    "c": 0.13179,
    "h": 308.6
  },
  "luminance": 0.43686
}

Semantic roles & 50–950 ramp

primary
#CD9DF5
secondary
#E4F4D7
accent
#DE0869
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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