#CB91EA#CB91EA

#CB91EA is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.5% C 0.138 H 313.2°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#CB91EA
RGBrgb(203, 145, 234)
HSLhsl(279, 68%, 74%)
HSVhsv(279, 38%, 92%)
CMYKcmyk(13.2%, 38%, 0%, 8.2%)
CIE-LABlab(68.67, 37.60, -36.51)
CIE-LCHlch(68.67, 52.41, 315.84°)
OKLaboklab(74.5% 0.0946 -0.1007)
OKLCHoklch(74.5% 0.138 313.2)
XYZxyz(49.6028, 38.8888, 82.7192)
Luminance0.3889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91EA #B0EA91
analogous
#9F91EA #CB91EA #EA91DD
triadic
#CB91EA #EACB91 #91EACB
tetradic
#CB91EA #EA9F91 #B0EA91 #91DDEA
square
#CB91EA #EA9F91 #B0EA91 #91DDEA
split-complementary
#CB91EA #DDEA91 #91EA9F
monochromatic
#9A2AD6 #B35EE0 #CB91EA #E3C4F4 #F3E5FA

Accessibility & contrast

On white

2.39
#CB91EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#CB91EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91EA
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91EA#FFFFFF#000000##000000
##CB91EA1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#8FA9E7
Tritanopia (blue-blind)
#C99DB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb91ea;
/* rgb */ color: rgb(203, 145, 234);
/* oklch */ color: oklch(74.5% 0.138 313.2);
Tailwind
colors: {
  custom: {
    50: '#dcb2f1',
    500: '#cb91ea',
    950: '#000000',
  },
}
SCSS
$custom: #cb91ea;
$custom-light: #dcb2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91ea",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 234
  },
  "hsl": {
    "h": 279.101,
    "s": 67.939,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74503,
    "c": 0.13817,
    "h": 313.2
  },
  "luminance": 0.38888
}

Semantic roles & 50–950 ramp

primary
#CB91EA
secondary
#E2F2D9
accent
#D01657
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB91EA

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

Preview Lab → · Contrast checker → · Palette generator →

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