#CB91EC#CB91EC

#CB91EC is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.6% C 0.140 H 312.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CB91EC
RGBrgb(203, 145, 236)
HSLhsl(278, 71%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(14%, 38.6%, 0%, 7.5%)
CIE-LABlab(68.75, 38.02, -37.48)
CIE-LCHlch(68.75, 53.38, 315.41°)
OKLaboklab(74.59% 0.095 -0.1035)
OKLCHoklch(74.59% 0.14 312.6)
XYZxyz(49.8918, 39.0043, 84.2409)
Luminance0.3900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91EC #B2EC91
analogous
#9E91EC #CB91EC #EC91DF
triadic
#CB91EC #ECCB91 #91ECCB
tetradic
#CB91EC #EC9E91 #B2EC91 #91DFEC
square
#CB91EC #EC9E91 #B2EC91 #91DFEC
split-complementary
#CB91EC #DFEC91 #91EC9E
monochromatic
#9A29DA #B25DE3 #CB91EC #E4C5F5 #F3E5FA

Accessibility & contrast

On white

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

On black

8.80
#CB91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91EC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91EC#FFFFFF#000000##000000
##CB91EC1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5EF
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#C89EB3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb91ec;
/* rgb */ color: rgb(203, 145, 236);
/* oklch */ color: oklch(74.6% 0.140 312.6);
Tailwind
colors: {
  custom: {
    50: '#dcb2f2',
    500: '#cb91ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb91ec;
$custom-light: #dcb2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91ec",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 278.242,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74594,
    "c": 0.14049,
    "h": 312.6
  },
  "luminance": 0.39003
}

Semantic roles & 50–950 ramp

primary
#CB91EC
secondary
#E2F2D9
accent
#D31358
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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