#CB99FD#CB99FD

#CB99FD is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.7% C 0.147 H 306.2°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CB99FD
RGBrgb(203, 153, 253)
HSLhsl(270, 96%, 80%)
HSVhsv(270, 40%, 99%)
CMYKcmyk(19.8%, 39.5%, 0%, 0.8%)
CIE-LABlab(71.26, 37.33, -42.84)
CIE-LCHlch(71.26, 56.82, 311.07°)
OKLaboklab(76.73% 0.0872 -0.1189)
OKLCHoklch(76.73% 0.147 306.2)
XYZxyz(53.7459, 42.5712, 98.2951)
Luminance0.4257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99FD #CBFD99
analogous
#9999FD #CB99FD #FD99FD
triadic
#CB99FD #FDCB99 #99FDCB
tetradic
#CB99FD #FD9999 #CBFD99 #99FDFD
square
#CB99FD #FD9999 #CBFD99 #99FDFD
split-complementary
#CB99FD #FDFD99 #99FD99
monochromatic
#8E21FB #AC5DFC #CB99FD #EAD5FE #F0E1FE

Accessibility & contrast

On white

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

On black

9.51
#CB99FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99FD
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99FD#FFFFFF#000000##000000
##CB99FD1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#8EAFFA
Tritanopia (blue-blind)
#C4A9BF
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb99fd;
/* rgb */ color: rgb(203, 153, 253);
/* oklch */ color: oklch(76.7% 0.147 306.2);
Tailwind
colors: {
  custom: {
    50: '#dcb7fe',
    500: '#cb99fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb99fd;
$custom-light: #dcb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99fd",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 253
  },
  "hsl": {
    "h": 270,
    "s": 96.154,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76728,
    "c": 0.14746,
    "h": 306.2
  },
  "luminance": 0.42571
}

Semantic roles & 50–950 ramp

primary
#CB99FD
secondary
#E6F7D4
accent
#E60073
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB99FD

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

Preview Lab → · Contrast checker → · Palette generator →

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