#CD9BEC#CD9BEC

#CD9BEC is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.5% C 0.124 H 311.9°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CD9BEC
RGBrgb(205, 155, 236)
HSLhsl(277, 68%, 77%)
HSVhsv(277, 34%, 93%)
CMYKcmyk(13.1%, 34.3%, 0%, 7.5%)
CIE-LABlab(71.20, 33.17, -33.66)
CIE-LCHlch(71.20, 47.26, 314.58°)
OKLaboklab(76.49% 0.083 -0.0926)
OKLCHoklch(76.49% 0.124 311.9)
XYZxyz(52.0359, 42.4787, 84.7986)
Luminance0.4248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BEC #BAEC9B
analogous
#A59BEC #CD9BEC #EC9BE3
triadic
#CD9BEC #ECCD9B #9BECCD
tetradic
#CD9BEC #ECA59B #BAEC9B #9BE3EC
square
#CD9BEC #ECA59B #BAEC9B #9BE3EC
split-complementary
#CD9BEC #E3EC9B #9BECA5
monochromatic
#9A34D8 #B368E2 #CD9BEC #E7CEF6 #F2E5FA

Accessibility & contrast

On white

2.21
#CD9BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#CD9BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BEC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BEC#FFFFFF#000000##000000
##CD9BEC1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#98AFEA
Tritanopia (blue-blind)
#CAA6B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9bec;
/* rgb */ color: rgb(205, 155, 236);
/* oklch */ color: oklch(76.5% 0.124 311.9);
Tailwind
colors: {
  custom: {
    50: '#ddb9f2',
    500: '#cd9bec',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bec;
$custom-light: #ddb9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bec",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 236
  },
  "hsl": {
    "h": 277.037,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76492,
    "c": 0.12435,
    "h": 311.9
  },
  "luminance": 0.42478
}

Semantic roles & 50–950 ramp

primary
#CD9BEC
secondary
#E3F2D9
accent
#D0165D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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