#CB91EB#CB91EB

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

Color values

HEX#CB91EB
RGBrgb(203, 145, 235)
HSLhsl(279, 69%, 75%)
HSVhsv(279, 38%, 92%)
CMYKcmyk(13.6%, 38.3%, 0%, 7.8%)
CIE-LABlab(68.71, 37.81, -36.99)
CIE-LCHlch(68.71, 52.89, 315.62°)
OKLaboklab(74.55% 0.0948 -0.1021)
OKLCHoklch(74.55% 0.139 312.9)
XYZxyz(49.7469, 38.9464, 83.4779)
Luminance0.3895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91EB #B1EB91
analogous
#9E91EB #CB91EB #EB91DE
triadic
#CB91EB #EBCB91 #91EBCB
tetradic
#CB91EB #EB9E91 #B1EB91 #91DEEB
square
#CB91EB #EB9E91 #B1EB91 #91DEEB
split-complementary
#CB91EB #DEEB91 #91EB9E
monochromatic
#9A29D8 #B35DE2 #CB91EB #E3C5F4 #F3E5FA

Accessibility & contrast

On white

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

On black

8.79
#CB91EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91EB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91EB#FFFFFF#000000##000000
##CB91EB1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4EE
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#C89DB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb91eb;
/* rgb */ color: rgb(203, 145, 235);
/* oklch */ color: oklch(74.5% 0.139 312.9);
Tailwind
colors: {
  custom: {
    50: '#dcb2f1',
    500: '#cb91eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb91eb;
$custom-light: #dcb2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91eb",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 235
  },
  "hsl": {
    "h": 278.667,
    "s": 69.231,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74549,
    "c": 0.13933,
    "h": 312.9
  },
  "luminance": 0.38945
}

Semantic roles & 50–950 ramp

primary
#CB91EB
secondary
#E2F2D9
accent
#D11457
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB91EB

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

Preview Lab → · Contrast checker → · Palette generator →

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