#CB99ED#CB99ED

#CB99ED is a light, vivid violet. Relative luminance 0.416; OKLCH L 76.0% C 0.128 H 310.9°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#CB99ED
RGBrgb(203, 153, 237)
HSLhsl(276, 70%, 76%)
HSVhsv(276, 35%, 93%)
CMYKcmyk(14.3%, 35.4%, 0%, 7.1%)
CIE-LABlab(70.59, 33.87, -35.17)
CIE-LCHlch(70.59, 48.83, 313.92°)
OKLaboklab(76% 0.0838 -0.0969)
OKLCHoklch(76% 0.128 310.9)
XYZxyz(51.3032, 41.5941, 85.4302)
Luminance0.4159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99ED #BBED99
analogous
#A199ED #CB99ED #ED99E5
triadic
#CB99ED #EDCB99 #99EDCB
tetradic
#CB99ED #EDA199 #BBED99 #99E5ED
square
#CB99ED #EDA199 #BBED99 #99E5ED
split-complementary
#CB99ED #E5ED99 #99EDA1
monochromatic
#9631DB #B065E4 #CB99ED #E6CDF6 #F2E5FA

Accessibility & contrast

On white

2.25
#CB99ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#CB99ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99ED
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99ED#FFFFFF#000000##000000
##CB99ED1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAF0
Deuteranopia (green-blind)
#95AEEB
Tritanopia (blue-blind)
#C7A5B8
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb99ed;
/* rgb */ color: rgb(203, 153, 237);
/* oklch */ color: oklch(76.0% 0.128 310.9);
Tailwind
colors: {
  custom: {
    50: '#dcb7f3',
    500: '#cb99ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb99ed;
$custom-light: #dcb7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99ed",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 237
  },
  "hsl": {
    "h": 275.714,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75997,
    "c": 0.12812,
    "h": 310.9
  },
  "luminance": 0.41593
}

Semantic roles & 50–950 ramp

primary
#CB99ED
secondary
#E3F2D9
accent
#D21461
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB99ED

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

Preview Lab → · Contrast checker → · Palette generator →

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