#CB99EC#CB99EC

#CB99EC is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.0% C 0.127 H 311.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CB99EC
RGBrgb(203, 153, 236)
HSLhsl(276, 69%, 76%)
HSVhsv(276, 35%, 93%)
CMYKcmyk(14%, 35.2%, 0%, 7.5%)
CIE-LABlab(70.55, 33.66, -34.69)
CIE-LCHlch(70.55, 48.33, 314.14°)
OKLaboklab(75.95% 0.0836 -0.0955)
OKLCHoklch(75.95% 0.127 311.2)
XYZxyz(51.1575, 41.5358, 84.6629)
Luminance0.4153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99EC #BAEC99
analogous
#A299EC #CB99EC #EC99E3
triadic
#CB99EC #ECCB99 #99ECCB
tetradic
#CB99EC #ECA299 #BAEC99 #99E3EC
square
#CB99EC #ECA299 #BAEC99 #99E3EC
split-complementary
#CB99EC #E3EC99 #99ECA2
monochromatic
#9632D9 #B165E2 #CB99EC #E5CDF6 #F2E5FA

Accessibility & contrast

On white

2.26
#CB99EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#CB99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99EC
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99EC#FFFFFF#000000##000000
##CB99EC1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#95AEEA
Tritanopia (blue-blind)
#C8A4B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb99ec;
/* rgb */ color: rgb(203, 153, 236);
/* oklch */ color: oklch(76.0% 0.127 311.2);
Tailwind
colors: {
  custom: {
    50: '#dcb7f2',
    500: '#cb99ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb99ec;
$custom-light: #dcb7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99ec",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 276.145,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75953,
    "c": 0.12694,
    "h": 311.2
  },
  "luminance": 0.41535
}

Semantic roles & 50–950 ramp

primary
#CB99EC
secondary
#E3F2D9
accent
#D11560
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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