#CB99EB#CB99EB

#CB99EB is a light, vivid violet. Relative luminance 0.415; OKLCH L 75.9% C 0.126 H 311.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CB99EB
RGBrgb(203, 153, 235)
HSLhsl(277, 67%, 76%)
HSVhsv(277, 35%, 92%)
CMYKcmyk(13.6%, 34.9%, 0%, 7.8%)
CIE-LABlab(70.51, 33.45, -34.20)
CIE-LCHlch(70.51, 47.84, 314.36°)
OKLaboklab(75.91% 0.0833 -0.0941)
OKLCHoklch(75.91% 0.126 311.5)
XYZxyz(51.0126, 41.4779, 83.8998)
Luminance0.4148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99EB #B9EB99
analogous
#A299EB #CB99EB #EB99E2
triadic
#CB99EB #EBCB99 #99EBCB
tetradic
#CB99EB #EBA299 #B9EB99 #99E2EB
square
#CB99EB #EBA299 #B9EB99 #99E2EB
split-complementary
#CB99EB #E2EB99 #99EBA2
monochromatic
#9733D7 #B166E1 #CB99EB #E5CCF5 #F2E5FA

Accessibility & contrast

On white

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

On black

9.30
#CB99EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99EB
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99EB#FFFFFF#000000##000000
##CB99EB1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEE
Deuteranopia (green-blind)
#96AEE9
Tritanopia (blue-blind)
#C8A4B7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb99eb;
/* rgb */ color: rgb(203, 153, 235);
/* oklch */ color: oklch(75.9% 0.126 311.5);
Tailwind
colors: {
  custom: {
    50: '#dcb7f1',
    500: '#cb99eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb99eb;
$custom-light: #dcb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99eb",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 235
  },
  "hsl": {
    "h": 276.585,
    "s": 67.213,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75909,
    "c": 0.12574,
    "h": 311.5
  },
  "luminance": 0.41477
}

Semantic roles & 50–950 ramp

primary
#CB99EB
secondary
#E3F1DA
accent
#CF165E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB99EB

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

Preview Lab → · Contrast checker → · Palette generator →

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