#CD9DEA#CD9DEA

#CD9DEA is a light, moderate violet. Relative luminance 0.430; OKLCH L 76.8% C 0.119 H 312.2°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#CD9DEA
RGBrgb(205, 157, 234)
HSLhsl(277, 65%, 77%)
HSVhsv(277, 33%, 92%)
CMYKcmyk(12.4%, 32.9%, 0%, 8.2%)
CIE-LABlab(71.58, 31.66, -31.99)
CIE-LCHlch(71.58, 45.01, 314.71°)
OKLaboklab(76.75% 0.0796 -0.0878)
OKLCHoklch(76.75% 0.119 312.2)
XYZxyz(52.0826, 43.0344, 83.3887)
Luminance0.4303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DEA #BAEA9D
analogous
#A79DEA #CD9DEA #EA9DE0
triadic
#CD9DEA #EACD9D #9DEACD
tetradic
#CD9DEA #EAA79D #BAEA9D #9DE0EA
square
#CD9DEA #EAA79D #BAEA9D #9DE0EA
split-complementary
#CD9DEA #E0EA9D #9DEAA7
monochromatic
#9A38D4 #B36BDF #CD9DEA #E7CFF5 #F2E6FA

Accessibility & contrast

On white

2.19
#CD9DEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#CD9DEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DEA
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DEA#FFFFFF#000000##000000
##CD9DEA1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADED
Deuteranopia (green-blind)
#9BB0E8
Tritanopia (blue-blind)
#CAA7B9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9dea;
/* rgb */ color: rgb(205, 157, 234);
/* oklch */ color: oklch(76.8% 0.119 312.2);
Tailwind
colors: {
  custom: {
    50: '#ddbaf1',
    500: '#cd9dea',
    950: '#000000',
  },
}
SCSS
$custom: #cd9dea;
$custom-light: #ddbaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9dea",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 234
  },
  "hsl": {
    "h": 277.403,
    "s": 64.706,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76754,
    "c": 0.11855,
    "h": 312.2
  },
  "luminance": 0.43034
}

Semantic roles & 50–950 ramp

primary
#CD9DEA
secondary
#E3F1DA
accent
#CD195D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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