#CB9DFD#CB9DFD

#CB9DFD is a light, vivid violet. Relative luminance 0.439; OKLCH L 77.4% C 0.141 H 305.4°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#CB9DFD
RGBrgb(203, 157, 253)
HSLhsl(269, 96%, 80%)
HSVhsv(269, 38%, 99%)
CMYKcmyk(19.8%, 37.9%, 0%, 0.8%)
CIE-LABlab(72.16, 35.15, -41.43)
CIE-LCHlch(72.16, 54.34, 310.31°)
OKLaboklab(77.41% 0.0816 -0.1149)
OKLCHoklch(77.41% 0.141 305.4)
XYZxyz(54.4116, 43.9026, 98.5170)
Luminance0.4390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB9DFD #CFFD9D
analogous
#9D9FFD #CB9DFD #FB9DFD
triadic
#CB9DFD #FDCB9D #9DFDCB
tetradic
#CB9DFD #FD9D9F #CFFD9D #9DFDFB
square
#CB9DFD #FD9D9F #CFFD9D #9DFDFB
split-complementary
#CB9DFD #FDFB9D #9FFD9D
monochromatic
#8B25FB #AB61FC #CB9DFD #EBD9FE #EFE1FE

Accessibility & contrast

On white

2.15
#CB9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#CB9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB9DFD
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB9DFD#FFFFFF#000000##000000
##CB9DFD1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#92B1FA
Tritanopia (blue-blind)
#C3ACC1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cb9dfd;
/* rgb */ color: rgb(203, 157, 253);
/* oklch */ color: oklch(77.4% 0.141 305.4);
Tailwind
colors: {
  custom: {
    50: '#dcbafe',
    500: '#cb9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #cb9dfd;
$custom-light: #dcbafe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb9dfd",
  "rgb": {
    "r": 203,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 268.75,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.77409,
    "c": 0.14093,
    "h": 305.4
  },
  "luminance": 0.43902
}

Semantic roles & 50–950 ramp

primary
#CB9DFD
secondary
#E6F7D4
accent
#E60078
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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