#CD9EE5#CD9EE5

#CD9EE5 is a light, moderate violet. Relative luminance 0.431; OKLCH L 76.7% C 0.111 H 313.9°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#CD9EE5
RGBrgb(205, 158, 229)
HSLhsl(280, 58%, 76%)
HSVhsv(280, 31%, 90%)
CMYKcmyk(10.5%, 31%, 0%, 10.2%)
CIE-LABlab(71.62, 30.08, -29.19)
CIE-LCHlch(71.62, 41.92, 315.86°)
OKLaboklab(76.72% 0.0769 -0.0799)
OKLCHoklch(76.72% 0.111 313.9)
XYZxyz(51.5443, 43.0909, 79.7156)
Luminance0.4309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EE5 #B6E59E
analogous
#A99EE5 #CD9EE5 #E59ED9
triadic
#CD9EE5 #E5CD9E #9EE5CD
tetradic
#CD9EE5 #E5A99E #B6E59E #9ED9E5
square
#CD9EE5 #E5A99E #B6E59E #9ED9E5
split-complementary
#CD9EE5 #D9E59E #9EE5A9
monochromatic
#9B3DCB #B46ED8 #CD9EE5 #E6CEF2 #F3E7F9

Accessibility & contrast

On white

2.18
#CD9EE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#CD9EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EE5
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EE5#FFFFFF#000000##000000
##CD9EE51.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ADE8
Deuteranopia (green-blind)
#9EB1E3
Tritanopia (blue-blind)
#CBA7B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9ee5;
/* rgb */ color: rgb(205, 158, 229);
/* oklch */ color: oklch(76.7% 0.111 313.9);
Tailwind
colors: {
  custom: {
    50: '#ddbbed',
    500: '#cd9ee5',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ee5;
$custom-light: #ddbbed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ee5",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 229
  },
  "hsl": {
    "h": 279.718,
    "s": 57.724,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7672,
    "c": 0.11089,
    "h": 313.9
  },
  "luminance": 0.4309
}

Semantic roles & 50–950 ramp

primary
#CD9EE5
secondary
#E2F0DB
accent
#C52058
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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