#CB99FA#CB99FA

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

Color values

HEX#CB99FA
RGBrgb(203, 153, 250)
HSLhsl(271, 91%, 79%)
HSVhsv(271, 39%, 98%)
CMYKcmyk(18.8%, 38.8%, 0%, 2%)
CIE-LABlab(71.13, 36.67, -41.41)
CIE-LCHlch(71.13, 55.32, 311.52°)
OKLaboklab(76.59% 0.0866 -0.1148)
OKLCHoklch(76.59% 0.144 307)
XYZxyz(53.2718, 42.3815, 95.7980)
Luminance0.4238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99FA #C8FA99
analogous
#9B99FA #CB99FA #FA99F8
triadic
#CB99FA #FACB99 #99FACB
tetradic
#CB99FA #FA9B99 #C8FA99 #99F8FA
square
#CB99FA #FA9B99 #C8FA99 #99F8FA
split-complementary
#CB99FA #F8FA99 #99FA9B
monochromatic
#9024F4 #AD5FF7 #CB99FA #E9D3FD #F0E2FE

Accessibility & contrast

On white

2.22
#CB99FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#CB99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99FA
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99FA#FFFFFF#000000##000000
##CB99FA1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#8FAFF7
Tritanopia (blue-blind)
#C4A8BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb99fa;
/* rgb */ color: rgb(203, 153, 250);
/* oklch */ color: oklch(76.6% 0.144 307.0);
Tailwind
colors: {
  custom: {
    50: '#dcb7fc',
    500: '#cb99fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb99fa;
$custom-light: #dcb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99fa",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 270.928,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76587,
    "c": 0.14381,
    "h": 307
  },
  "luminance": 0.42381
}

Semantic roles & 50–950 ramp

primary
#CB99FA
secondary
#E5F6D5
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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