#CD9BE9#CD9BE9

#CD9BE9 is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.4% C 0.121 H 312.9°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#CD9BE9
RGBrgb(205, 155, 233)
HSLhsl(278, 64%, 76%)
HSVhsv(278, 33%, 91%)
CMYKcmyk(12%, 33.5%, 0%, 8.6%)
CIE-LABlab(71.08, 32.55, -32.21)
CIE-LCHlch(71.08, 45.79, 315.30°)
OKLaboklab(76.36% 0.0823 -0.0884)
OKLCHoklch(76.36% 0.121 312.9)
XYZxyz(51.6037, 42.3059, 82.5224)
Luminance0.4230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BE9 #B7E99B
analogous
#A69BE9 #CD9BE9 #E99BDE
triadic
#CD9BE9 #E9CD9B #9BE9CD
tetradic
#CD9BE9 #E9A69B #B7E99B #9BDEE9
square
#CD9BE9 #E9A69B #B7E99B #9BDEE9
split-complementary
#CD9BE9 #DEE99B #9BE9A6
monochromatic
#9B37D3 #B469DE #CD9BE9 #E6CDF4 #F2E6F9

Accessibility & contrast

On white

2.22
#CD9BE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#CD9BE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BE9
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BE9#FFFFFF#000000##000000
##CD9BE91.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABEC
Deuteranopia (green-blind)
#99AFE7
Tritanopia (blue-blind)
#CBA5B8
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9be9;
/* rgb */ color: rgb(205, 155, 233);
/* oklch */ color: oklch(76.4% 0.121 312.9);
Tailwind
colors: {
  custom: {
    50: '#ddb9f0',
    500: '#cd9be9',
    950: '#000000',
  },
}
SCSS
$custom: #cd9be9;
$custom-light: #ddb9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9be9",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 233
  },
  "hsl": {
    "h": 278.462,
    "s": 63.934,
    "l": 76.078
  },
  "oklch": {
    "l": 0.76363,
    "c": 0.12079,
    "h": 312.9
  },
  "luminance": 0.42305
}

Semantic roles & 50–950 ramp

primary
#CD9BE9
secondary
#E2F1DA
accent
#CC1A5A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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