#CB91EF#CB91EF

#CB91EF is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.7% C 0.144 H 311.6°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#CB91EF
RGBrgb(203, 145, 239)
HSLhsl(277, 75%, 75%)
HSVhsv(277, 39%, 94%)
CMYKcmyk(15.1%, 39.3%, 0%, 6.3%)
CIE-LABlab(68.88, 38.65, -38.92)
CIE-LCHlch(68.88, 54.85, 314.80°)
OKLaboklab(74.73% 0.0956 -0.1076)
OKLCHoklch(74.73% 0.144 311.6)
XYZxyz(50.3313, 39.1801, 86.5557)
Luminance0.3918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91EF #B5EF91
analogous
#9C91EF #CB91EF #EF91E4
triadic
#CB91EF #EFCB91 #91EFCB
tetradic
#CB91EF #EF9C91 #B5EF91 #91E4EF
square
#CB91EF #EF9C91 #B5EF91 #91E4EF
split-complementary
#CB91EF #E4EF91 #91EF9C
monochromatic
#9826DF #B25CE7 #CB91EF #E4C6F7 #F2E4FB

Accessibility & contrast

On white

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

On black

8.84
#CB91EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91EF
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91EF#FFFFFF#000000##000000
##CB91EF1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F3
Deuteranopia (green-blind)
#8DA9EC
Tritanopia (blue-blind)
#C79EB5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb91ef;
/* rgb */ color: rgb(203, 145, 239);
/* oklch */ color: oklch(74.7% 0.144 311.6);
Tailwind
colors: {
  custom: {
    50: '#dcb2f4',
    500: '#cb91ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb91ef;
$custom-light: #dcb2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91ef",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 239
  },
  "hsl": {
    "h": 277.021,
    "s": 74.603,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74732,
    "c": 0.14398,
    "h": 311.6
  },
  "luminance": 0.39179
}

Semantic roles & 50–950 ramp

primary
#CB91EF
secondary
#E2F3D8
accent
#D70F5B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB91EF

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

Preview Lab → · Contrast checker → · Palette generator →

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