#CD9EEB#CD9EEB

#CD9EEB is a light, moderate violet. Relative luminance 0.434; OKLCH L 77.0% C 0.118 H 311.6°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CD9EEB
RGBrgb(205, 158, 235)
HSLhsl(277, 66%, 77%)
HSVhsv(277, 33%, 92%)
CMYKcmyk(12.8%, 32.8%, 0%, 7.8%)
CIE-LABlab(71.85, 31.32, -32.12)
CIE-LCHlch(71.85, 44.86, 314.28°)
OKLaboklab(76.97% 0.0784 -0.0882)
OKLCHoklch(76.97% 0.118 311.6)
XYZxyz(52.3965, 43.4318, 84.2041)
Luminance0.4343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EEB #BCEB9E
analogous
#A79EEB #CD9EEB #EB9EE3
triadic
#CD9EEB #EBCD9E #9EEBCD
tetradic
#CD9EEB #EBA79E #BCEB9E #9EE3EB
square
#CD9EEB #EBA79E #BCEB9E #9EE3EB
split-complementary
#CD9EEB #E3EB9E #9EEBA7
monochromatic
#9939D6 #B36BE1 #CD9EEB #E7D1F5 #F2E6FA

Accessibility & contrast

On white

2.17
#CD9EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#CD9EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EEB
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EEB#FFFFFF#000000##000000
##CD9EEB1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEE
Deuteranopia (green-blind)
#9BB1E9
Tritanopia (blue-blind)
#CAA8BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9eeb;
/* rgb */ color: rgb(205, 158, 235);
/* oklch */ color: oklch(77.0% 0.118 311.6);
Tailwind
colors: {
  custom: {
    50: '#ddbbf1',
    500: '#cd9eeb',
    950: '#000000',
  },
}
SCSS
$custom: #cd9eeb;
$custom-light: #ddbbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9eeb",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 235
  },
  "hsl": {
    "h": 276.623,
    "s": 65.812,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76971,
    "c": 0.11803,
    "h": 311.6
  },
  "luminance": 0.43431
}

Semantic roles & 50–950 ramp

primary
#CD9EEB
secondary
#E3F1DA
accent
#CE185F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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