#CD9DEB#CD9DEB

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

Color values

HEX#CD9DEB
RGBrgb(205, 157, 235)
HSLhsl(277, 66%, 77%)
HSVhsv(277, 33%, 92%)
CMYKcmyk(12.8%, 33.2%, 0%, 7.8%)
CIE-LABlab(71.62, 31.87, -32.47)
CIE-LCHlch(71.62, 45.50, 314.46°)
OKLaboklab(76.8% 0.0799 -0.0892)
OKLCHoklch(76.8% 0.12 311.8)
XYZxyz(52.2266, 43.0920, 84.1474)
Luminance0.4309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DEB #BBEB9D
analogous
#A69DEB #CD9DEB #EB9DE2
triadic
#CD9DEB #EBCD9D #9DEBCD
tetradic
#CD9DEB #EBA69D #BBEB9D #9DE2EB
square
#CD9DEB #EBA69D #BBEB9D #9DE2EB
split-complementary
#CD9DEB #E2EB9D #9DEBA6
monochromatic
#9937D6 #B36AE1 #CD9DEB #E7D0F5 #F2E6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD9DEB#FFFFFF#000000##000000
##CD9DEB1.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)
#90ADEE
Deuteranopia (green-blind)
#9AB1E9
Tritanopia (blue-blind)
#CAA7BA
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9deb;
/* rgb */ color: rgb(205, 157, 235);
/* oklch */ color: oklch(76.8% 0.120 311.8);
Tailwind
colors: {
  custom: {
    50: '#ddbaf1',
    500: '#cd9deb',
    950: '#000000',
  },
}
SCSS
$custom: #cd9deb;
$custom-light: #ddbaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9deb",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 276.923,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76796,
    "c": 0.11974,
    "h": 311.8
  },
  "luminance": 0.43091
}

Semantic roles & 50–950 ramp

primary
#CD9DEB
secondary
#E3F1DA
accent
#CE185E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD9DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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