#CD9FEB#CD9FEB

#CD9FEB is a light, moderate violet. Relative luminance 0.438; OKLCH L 77.1% C 0.116 H 311.4°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#CD9FEB
RGBrgb(205, 159, 235)
HSLhsl(276, 66%, 77%)
HSVhsv(276, 32%, 92%)
CMYKcmyk(12.8%, 32.3%, 0%, 7.8%)
CIE-LABlab(72.08, 30.78, -31.76)
CIE-LCHlch(72.08, 44.23, 314.10°)
OKLaboklab(77.15% 0.077 -0.0872)
OKLCHoklch(77.15% 0.116 311.4)
XYZxyz(52.5678, 43.7743, 84.2612)
Luminance0.4377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FEB #BDEB9F
analogous
#A79FEB #CD9FEB #EB9FE3
triadic
#CD9FEB #EBCD9F #9FEBCD
tetradic
#CD9FEB #EBA79F #BDEB9F #9FE3EB
square
#CD9FEB #EBA79F #BDEB9F #9FE3EB
split-complementary
#CD9FEB #E3EB9F #9FEBA7
monochromatic
#983AD6 #B36CE0 #CD9FEB #E7D2F6 #F2E6FA

Accessibility & contrast

On white

2.15
#CD9FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#CD9FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FEB
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FEB#FFFFFF#000000##000000
##CD9FEB1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEE
Deuteranopia (green-blind)
#9CB2E9
Tritanopia (blue-blind)
#CAA9BB
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9feb;
/* rgb */ color: rgb(205, 159, 235);
/* oklch */ color: oklch(77.1% 0.116 311.4);
Tailwind
colors: {
  custom: {
    50: '#ddbcf1',
    500: '#cd9feb',
    950: '#000000',
  },
}
SCSS
$custom: #cd9feb;
$custom-light: #ddbcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9feb",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 276.316,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77147,
    "c": 0.11632,
    "h": 311.4
  },
  "luminance": 0.43774
}

Semantic roles & 50–950 ramp

primary
#CD9FEB
secondary
#E3F1DA
accent
#CD1860
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CD9FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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