#CB91ED#CB91ED

#CB91ED is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.6% C 0.142 H 312.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CB91ED
RGBrgb(203, 145, 237)
HSLhsl(278, 72%, 75%)
HSVhsv(278, 39%, 93%)
CMYKcmyk(14.3%, 38.8%, 0%, 7.1%)
CIE-LABlab(68.80, 38.23, -37.96)
CIE-LCHlch(68.80, 53.87, 315.20°)
OKLaboklab(74.64% 0.0952 -0.1049)
OKLCHoklch(74.64% 0.142 312.2)
XYZxyz(50.0375, 39.0626, 85.0082)
Luminance0.3906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB91ED #B3ED91
analogous
#9D91ED #CB91ED #ED91E1
triadic
#CB91ED #EDCB91 #91EDCB
tetradic
#CB91ED #ED9D91 #B3ED91 #91E1ED
square
#CB91ED #ED9D91 #B3ED91 #91E1ED
split-complementary
#CB91ED #E1ED91 #91ED9D
monochromatic
#9928DC #B25CE4 #CB91ED #E4C6F6 #F3E5FB

Accessibility & contrast

On white

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

On black

8.81
#CB91ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB91ED
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB91ED#FFFFFF#000000##000000
##CB91ED1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F0
Deuteranopia (green-blind)
#8EA9EA
Tritanopia (blue-blind)
#C89EB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb91ed;
/* rgb */ color: rgb(203, 145, 237);
/* oklch */ color: oklch(74.6% 0.142 312.2);
Tailwind
colors: {
  custom: {
    50: '#dcb2f3',
    500: '#cb91ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb91ed;
$custom-light: #dcb2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb91ed",
  "rgb": {
    "r": 203,
    "g": 145,
    "b": 237
  },
  "hsl": {
    "h": 277.826,
    "s": 71.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7464,
    "c": 0.14166,
    "h": 312.2
  },
  "luminance": 0.39062
}

Semantic roles & 50–950 ramp

primary
#CB91ED
secondary
#E2F2D9
accent
#D41259
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB91ED

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

Preview Lab → · Contrast checker → · Palette generator →

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