#CD9BE8#CD9BE8

#CD9BE8 is a light, moderate violet. Relative luminance 0.422; OKLCH L 76.3% C 0.120 H 313.3°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#CD9BE8
RGBrgb(205, 155, 232)
HSLhsl(279, 63%, 76%)
HSVhsv(279, 33%, 91%)
CMYKcmyk(11.6%, 33.2%, 0%, 9%)
CIE-LABlab(71.04, 32.34, -31.72)
CIE-LCHlch(71.04, 45.30, 315.55°)
OKLaboklab(76.32% 0.082 -0.087)
OKLCHoklch(76.32% 0.12 313.3)
XYZxyz(51.4613, 42.2489, 81.7722)
Luminance0.4225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BE8 #B6E89B
analogous
#A69BE8 #CD9BE8 #E89BDC
triadic
#CD9BE8 #E8CD9B #9BE8CD
tetradic
#CD9BE8 #E8A69B #B6E89B #9BDCE8
square
#CD9BE8 #E8A69B #B6E89B #9BDCE8
split-complementary
#CD9BE8 #DCE89B #9BE8A6
monochromatic
#9B37D1 #B469DD #CD9BE8 #E6CDF3 #F3E6F9

Accessibility & contrast

On white

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

On black

9.45
#CD9BE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BE8
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BE8#FFFFFF#000000##000000
##CD9BE81.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FABEB
Deuteranopia (green-blind)
#9AAFE6
Tritanopia (blue-blind)
#CBA5B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9be8;
/* rgb */ color: rgb(205, 155, 232);
/* oklch */ color: oklch(76.3% 0.120 313.3);
Tailwind
colors: {
  custom: {
    50: '#ddb9ef',
    500: '#cd9be8',
    950: '#000000',
  },
}
SCSS
$custom: #cd9be8;
$custom-light: #ddb9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9be8",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 232
  },
  "hsl": {
    "h": 278.961,
    "s": 62.602,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7632,
    "c": 0.11962,
    "h": 313.3
  },
  "luminance": 0.42248
}

Semantic roles & 50–950 ramp

primary
#CD9BE8
secondary
#E2F1DA
accent
#CA1B59
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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