#CD9EE8#CD9EE8

#CD9EE8 is a light, moderate violet. Relative luminance 0.433; OKLCH L 76.8% C 0.114 H 312.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#CD9EE8
RGBrgb(205, 158, 232)
HSLhsl(278, 62%, 76%)
HSVhsv(278, 32%, 91%)
CMYKcmyk(11.6%, 31.9%, 0%, 9%)
CIE-LABlab(71.73, 30.70, -30.66)
CIE-LCHlch(71.73, 43.39, 315.04°)
OKLaboklab(76.84% 0.0777 -0.084)
OKLCHoklch(76.84% 0.114 312.7)
XYZxyz(51.9668, 43.2598, 81.9407)
Luminance0.4326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EE8 #B9E89E
analogous
#A89EE8 #CD9EE8 #E89EDE
triadic
#CD9EE8 #E8CD9E #9EE8CD
tetradic
#CD9EE8 #E8A89E #B9E89E #9EDEE8
square
#CD9EE8 #E8A89E #B9E89E #9EDEE8
split-complementary
#CD9EE8 #DEE89E #9EE8A8
monochromatic
#9A3BD1 #B46DDC #CD9EE8 #E7CFF4 #F2E6F9

Accessibility & contrast

On white

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

On black

9.65
#CD9EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EE8
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EE8#FFFFFF#000000##000000
##CD9EE81.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ADEB
Deuteranopia (green-blind)
#9CB1E6
Tritanopia (blue-blind)
#CBA8B9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9ee8;
/* rgb */ color: rgb(205, 158, 232);
/* oklch */ color: oklch(76.8% 0.114 312.7);
Tailwind
colors: {
  custom: {
    50: '#ddbbef',
    500: '#cd9ee8',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ee8;
$custom-light: #ddbbef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ee8",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 232
  },
  "hsl": {
    "h": 278.108,
    "s": 61.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76844,
    "c": 0.11445,
    "h": 312.7
  },
  "luminance": 0.43259
}

Semantic roles & 50–950 ramp

primary
#CD9EE8
secondary
#E3F1DA
accent
#C91C5B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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