#CB99FE#CB99FE

#CB99FE is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.8% C 0.149 H 306.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CB99FE
RGBrgb(203, 153, 254)
HSLhsl(270, 98%, 80%)
HSVhsv(270, 40%, 100%)
CMYKcmyk(20.1%, 39.8%, 0%, 0.4%)
CIE-LABlab(71.31, 37.55, -43.32)
CIE-LCHlch(71.31, 57.33, 310.92°)
OKLaboklab(76.78% 0.0873 -0.1203)
OKLCHoklch(76.78% 0.149 306)
XYZxyz(53.9056, 42.6351, 99.1363)
Luminance0.4264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99FE #CCFE99
analogous
#999AFE #CB99FE #FD99FE
triadic
#CB99FE #FECB99 #99FECB
tetradic
#CB99FE #FE999A #CCFE99 #99FEFD
square
#CB99FE #FE999A #CCFE99 #99FEFD
split-complementary
#CB99FE #FEFD99 #9AFE99
monochromatic
#8D20FD #AC5CFD #CB99FE #EAD6FF #F0E1FF

Accessibility & contrast

On white

2.20
#CB99FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#CB99FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99FE
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99FE#FFFFFF#000000##000000
##CB99FE1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#8DAFFB
Tritanopia (blue-blind)
#C3A9C0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cb99fe;
/* rgb */ color: rgb(203, 153, 254);
/* oklch */ color: oklch(76.8% 0.149 306.0);
Tailwind
colors: {
  custom: {
    50: '#dcb7ff',
    500: '#cb99fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb99fe;
$custom-light: #dcb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99fe",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 254
  },
  "hsl": {
    "h": 269.703,
    "s": 98.058,
    "l": 79.804
  },
  "oklch": {
    "l": 0.76775,
    "c": 0.14867,
    "h": 306
  },
  "luminance": 0.42635
}

Semantic roles & 50–950 ramp

primary
#CB99FE
secondary
#E6F7D4
accent
#E60074
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB99FE

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

Preview Lab → · Contrast checker → · Palette generator →

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