#CD9BFC#CD9BFC

#CD9BFC is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.2% C 0.144 H 307.0°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CD9BFC
RGBrgb(205, 155, 252)
HSLhsl(271, 94%, 80%)
HSVhsv(271, 38%, 99%)
CMYKcmyk(18.7%, 38.5%, 0%, 1.2%)
CIE-LABlab(71.86, 36.60, -41.35)
CIE-LCHlch(71.86, 55.22, 311.51°)
OKLaboklab(77.21% 0.0865 -0.1146)
OKLCHoklch(77.21% 0.144 307)
XYZxyz(54.4654, 43.4506, 97.5941)
Luminance0.4345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BFC #CAFC9B
analogous
#9D9BFC #CD9BFC #FC9BFA
triadic
#CD9BFC #FCCD9B #9BFCCD
tetradic
#CD9BFC #FC9D9B #CAFC9B #9BFAFC
square
#CD9BFC #FC9D9B #CAFC9B #9BFAFC
split-complementary
#CD9BFC #FAFC9B #9BFC9D
monochromatic
#9224F8 #AF60FA #CD9BFC #EBD6FE #F0E1FE

Accessibility & contrast

On white

2.17
#CD9BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#CD9BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BFC
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BFC#FFFFFF#000000##000000
##CD9BFC1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#91B1F9
Tritanopia (blue-blind)
#C6AAC0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9bfc;
/* rgb */ color: rgb(205, 155, 252);
/* oklch */ color: oklch(77.2% 0.144 307.0);
Tailwind
colors: {
  custom: {
    50: '#ddb9fd',
    500: '#cd9bfc',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bfc;
$custom-light: #ddb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bfc",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 252
  },
  "hsl": {
    "h": 270.928,
    "s": 94.175,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77209,
    "c": 0.14359,
    "h": 307
  },
  "luminance": 0.4345
}

Semantic roles & 50–950 ramp

primary
#CD9BFC
secondary
#E5F6D5
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CD9BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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