#CB96EB#CB96EB

#CB96EB is a light, vivid violet. Relative luminance 0.405; OKLCH L 75.4% C 0.131 H 312.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#CB96EB
RGBrgb(203, 150, 235)
HSLhsl(277, 68%, 75%)
HSVhsv(277, 36%, 92%)
CMYKcmyk(13.6%, 36.2%, 0%, 7.8%)
CIE-LABlab(69.83, 35.09, -35.26)
CIE-LCHlch(69.83, 49.74, 314.86°)
OKLaboklab(75.39% 0.0877 -0.0971)
OKLCHoklch(75.39% 0.131 312.1)
XYZxyz(50.5278, 40.5082, 83.7382)
Luminance0.4051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96EB #B6EB96
analogous
#A096EB #CB96EB #EB96E0
triadic
#CB96EB #EBCB96 #96EBCB
tetradic
#CB96EB #EBA096 #B6EB96 #96E0EB
square
#CB96EB #EBA096 #B6EB96 #96E0EB
split-complementary
#CB96EB #E0EB96 #96EBA0
monochromatic
#982FD7 #B263E1 #CB96EB #E4C9F5 #F2E5FA

Accessibility & contrast

On white

2.31
#CB96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#CB96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96EB
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96EB#FFFFFF#000000##000000
##CB96EB1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EE
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#C8A2B6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb96eb;
/* rgb */ color: rgb(203, 150, 235);
/* oklch */ color: oklch(75.4% 0.131 312.1);
Tailwind
colors: {
  custom: {
    50: '#dcb5f1',
    500: '#cb96eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb96eb;
$custom-light: #dcb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96eb",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 277.412,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75394,
    "c": 0.13085,
    "h": 312.1
  },
  "luminance": 0.40507
}

Semantic roles & 50–950 ramp

primary
#CB96EB
secondary
#E3F2D9
accent
#D0165C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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