#CD9BE7#CD9BE7

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

Color values

HEX#CD9BE7
RGBrgb(205, 155, 231)
HSLhsl(279, 61%, 76%)
HSVhsv(279, 33%, 91%)
CMYKcmyk(11.3%, 32.9%, 0%, 9.4%)
CIE-LABlab(71.00, 32.13, -31.23)
CIE-LCHlch(71.00, 44.81, 315.81°)
OKLaboklab(76.28% 0.0818 -0.0857)
OKLCHoklch(76.28% 0.118 313.7)
XYZxyz(51.3197, 42.1922, 81.0262)
Luminance0.4219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BE7 #B5E79B
analogous
#A79BE7 #CD9BE7 #E79BDB
triadic
#CD9BE7 #E7CD9B #9BE7CD
tetradic
#CD9BE7 #E7A79B #B5E79B #9BDBE7
square
#CD9BE7 #E7A79B #B5E79B #9BDBE7
split-complementary
#CD9BE7 #DBE79B #9BE7A7
monochromatic
#9C38CF #B46ADB #CD9BE7 #E6CCF3 #F3E6F9

Accessibility & contrast

On white

2.23
#CD9BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#CD9BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BE7
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BE7#FFFFFF#000000##000000
##CD9BE71.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd9be7;
/* rgb */ color: rgb(205, 155, 231);
/* oklch */ color: oklch(76.3% 0.118 313.7);
Tailwind
colors: {
  custom: {
    50: '#ddb9ef',
    500: '#cd9be7',
    950: '#000000',
  },
}
SCSS
$custom: #cd9be7;
$custom-light: #ddb9ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9be7",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 231
  },
  "hsl": {
    "h": 279.474,
    "s": 61.29,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76278,
    "c": 0.11844,
    "h": 313.7
  },
  "luminance": 0.42191
}

Semantic roles & 50–950 ramp

primary
#CD9BE7
secondary
#E2F0DB
accent
#C91D58
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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