#CB99FB#CB99FB

#CB99FB is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.6% C 0.145 H 306.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#CB99FB
RGBrgb(203, 153, 251)
HSLhsl(271, 92%, 79%)
HSVhsv(271, 39%, 98%)
CMYKcmyk(19.1%, 39%, 0%, 1.6%)
CIE-LABlab(71.18, 36.89, -41.89)
CIE-LCHlch(71.18, 55.82, 311.37°)
OKLaboklab(76.63% 0.0868 -0.1162)
OKLCHoklch(76.63% 0.145 306.7)
XYZxyz(53.4290, 42.4444, 96.6260)
Luminance0.4244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99FB #C9FB99
analogous
#9A99FB #CB99FB #FB99FA
triadic
#CB99FB #FBCB99 #99FBCB
tetradic
#CB99FB #FB9A99 #C9FB99 #99FAFB
square
#CB99FB #FB9A99 #C9FB99 #99FAFB
split-complementary
#CB99FB #FAFB99 #99FB9A
monochromatic
#8F23F6 #AD5EF9 #CB99FB #E9D4FD #F0E2FE

Accessibility & contrast

On white

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

On black

9.49
#CB99FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99FB
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99FB#FFFFFF#000000##000000
##CB99FB1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#8FAFF8
Tritanopia (blue-blind)
#C4A8BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb99fb;
/* rgb */ color: rgb(203, 153, 251);
/* oklch */ color: oklch(76.6% 0.145 306.7);
Tailwind
colors: {
  custom: {
    50: '#dcb7fd',
    500: '#cb99fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb99fb;
$custom-light: #dcb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99fb",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 270.612,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76634,
    "c": 0.14502,
    "h": 306.7
  },
  "luminance": 0.42444
}

Semantic roles & 50–950 ramp

primary
#CB99FB
secondary
#E5F6D5
accent
#E60070
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB99FB

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

Preview Lab → · Contrast checker → · Palette generator →

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