#CB99EA#CB99EA

#CB99EA is a light, vivid violet. Relative luminance 0.414; OKLCH L 75.9% C 0.125 H 311.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CB99EA
RGBrgb(203, 153, 234)
HSLhsl(277, 66%, 76%)
HSVhsv(277, 35%, 92%)
CMYKcmyk(13.2%, 34.6%, 0%, 8.2%)
CIE-LABlab(70.47, 33.24, -33.72)
CIE-LCHlch(70.47, 47.35, 314.59°)
OKLaboklab(75.87% 0.0831 -0.0928)
OKLCHoklch(75.87% 0.125 311.9)
XYZxyz(50.8686, 41.4203, 83.1411)
Luminance0.4142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99EA #B8EA99
analogous
#A299EA #CB99EA #EA99E0
triadic
#CB99EA #EACB99 #99EACB
tetradic
#CB99EA #EAA299 #B8EA99 #99E0EA
square
#CB99EA #EAA299 #B8EA99 #99E0EA
split-complementary
#CB99EA #E0EA99 #99EAA2
monochromatic
#9733D5 #B166E0 #CB99EA #E5CCF4 #F2E6FA

Accessibility & contrast

On white

2.26
#CB99EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#CB99EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99EA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99EA#FFFFFF#000000##000000
##CB99EA1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAED
Deuteranopia (green-blind)
#96ADE8
Tritanopia (blue-blind)
#C8A4B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb99ea;
/* rgb */ color: rgb(203, 153, 234);
/* oklch */ color: oklch(75.9% 0.125 311.9);
Tailwind
colors: {
  custom: {
    50: '#dcb7f1',
    500: '#cb99ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb99ea;
$custom-light: #dcb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99ea",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 234
  },
  "hsl": {
    "h": 277.037,
    "s": 65.854,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75866,
    "c": 0.12455,
    "h": 311.9
  },
  "luminance": 0.41419
}

Semantic roles & 50–950 ramp

primary
#CB99EA
secondary
#E3F1DA
accent
#CE185D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB99EA

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

Preview Lab → · Contrast checker → · Palette generator →

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