#CB91EE#CB91EE

#CB91EE is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.7% C 0.143 H 311.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#CB91EE
RGBrgb(203, 145, 238)
HSLhsl(277, 73%, 75%)
HSVhsv(277, 39%, 93%)
CMYKcmyk(14.7%, 39.1%, 0%, 6.7%)
CIE-LABlab(68.84, 38.44, -38.44)
CIE-LCHlch(68.84, 54.36, 315.00°)
OKLaboklab(74.69% 0.0954 -0.1062)
OKLCHoklch(74.69% 0.143 311.9)
XYZxyz(50.1840, 39.1212, 85.7798)
Luminance0.3912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91EE #B4EE91
analogous
#9C91EE #CB91EE #EE91E3
triadic
#CB91EE #EECB91 #91EECB
tetradic
#CB91EE #EE9C91 #B4EE91 #91E3EE
square
#CB91EE #EE9C91 #B4EE91 #91E3EE
split-complementary
#CB91EE #E3EE91 #91EE9C
monochromatic
#9927DE #B25CE6 #CB91EE #E4C6F6 #F2E4FB

Accessibility & contrast

On white

2.38
#CB91EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#CB91EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91EE
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91EE#FFFFFF#000000##000000
##CB91EE1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F1
Deuteranopia (green-blind)
#8DA9EB
Tritanopia (blue-blind)
#C89EB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb91ee;
/* rgb */ color: rgb(203, 145, 238);
/* oklch */ color: oklch(74.7% 0.143 311.9);
Tailwind
colors: {
  custom: {
    50: '#dcb2f4',
    500: '#cb91ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb91ee;
$custom-light: #dcb2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91ee",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 238
  },
  "hsl": {
    "h": 277.419,
    "s": 73.228,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74686,
    "c": 0.14281,
    "h": 311.9
  },
  "luminance": 0.3912
}

Semantic roles & 50–950 ramp

primary
#CB91EE
secondary
#E2F3D8
accent
#D5105A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB91EE

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

Preview Lab → · Contrast checker → · Palette generator →

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