#CB99EE#CB99EE

#CB99EE is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.0% C 0.129 H 310.5°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CB99EE
RGBrgb(203, 153, 238)
HSLhsl(275, 71%, 77%)
HSVhsv(275, 36%, 93%)
CMYKcmyk(14.7%, 35.7%, 0%, 6.7%)
CIE-LABlab(70.63, 34.08, -35.66)
CIE-LCHlch(70.63, 49.32, 313.71°)
OKLaboklab(76.04% 0.084 -0.0983)
OKLCHoklch(76.04% 0.129 310.5)
XYZxyz(51.4497, 41.6527, 86.2017)
Luminance0.4165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99EE #BCEE99
analogous
#A199EE #CB99EE #EE99E7
triadic
#CB99EE #EECB99 #99EECB
tetradic
#CB99EE #EEA199 #BCEE99 #99E7EE
square
#CB99EE #EEA199 #BCEE99 #99E7EE
split-complementary
#CB99EE #E7EE99 #99EEA1
monochromatic
#9630DD #B065E5 #CB99EE #E6CDF7 #F2E5FB

Accessibility & contrast

On white

2.25
#CB99EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CB99EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99EE
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99EE#FFFFFF#000000##000000
##CB99EE1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF1
Deuteranopia (green-blind)
#95AEEC
Tritanopia (blue-blind)
#C7A5B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb99ee;
/* rgb */ color: rgb(203, 153, 238);
/* oklch */ color: oklch(76.0% 0.129 310.5);
Tailwind
colors: {
  custom: {
    50: '#dcb7f4',
    500: '#cb99ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb99ee;
$custom-light: #dcb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99ee",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 238
  },
  "hsl": {
    "h": 275.294,
    "s": 71.429,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76041,
    "c": 0.12933,
    "h": 310.5
  },
  "luminance": 0.41652
}

Semantic roles & 50–950 ramp

primary
#CB99EE
secondary
#E3F2D9
accent
#D31262
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB99EE

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

Preview Lab → · Contrast checker → · Palette generator →

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