#CB99FC#CB99FC

#CB99FC is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.7% C 0.146 H 306.5°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CB99FC
RGBrgb(203, 153, 252)
HSLhsl(270, 94%, 79%)
HSVhsv(270, 39%, 99%)
CMYKcmyk(19.4%, 39.3%, 0%, 1.2%)
CIE-LABlab(71.22, 37.11, -42.37)
CIE-LCHlch(71.22, 56.32, 311.22°)
OKLaboklab(76.68% 0.087 -0.1176)
OKLCHoklch(76.68% 0.146 306.5)
XYZxyz(53.5870, 42.5076, 97.4584)
Luminance0.4251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99FC #CAFC99
analogous
#9A99FC #CB99FC #FC99FC
triadic
#CB99FC #FCCB99 #99FCCB
tetradic
#CB99FC #FC9A99 #CAFC99 #99FCFC
square
#CB99FC #FC9A99 #CAFC99 #99FCFC
split-complementary
#CB99FC #FCFC99 #99FC9A
monochromatic
#8E22F9 #AD5EFA #CB99FC #E9D4FE #F0E1FE

Accessibility & contrast

On white

2.21
#CB99FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#CB99FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99FC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99FC#FFFFFF#000000##000000
##CB99FC1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#8EAFF9
Tritanopia (blue-blind)
#C4A8BF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb99fc;
/* rgb */ color: rgb(203, 153, 252);
/* oklch */ color: oklch(76.7% 0.146 306.5);
Tailwind
colors: {
  custom: {
    50: '#dcb7fd',
    500: '#cb99fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb99fc;
$custom-light: #dcb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99fc",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 270.303,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7668,
    "c": 0.14624,
    "h": 306.5
  },
  "luminance": 0.42507
}

Semantic roles & 50–950 ramp

primary
#CB99FC
secondary
#E5F6D5
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB99FC

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

Preview Lab → · Contrast checker → · Palette generator →

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