#CB96ED#CB96ED

#CB96ED is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.5% C 0.133 H 311.4°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CB96ED
RGBrgb(203, 150, 237)
HSLhsl(277, 71%, 76%)
HSVhsv(277, 37%, 93%)
CMYKcmyk(14.3%, 36.7%, 0%, 7.1%)
CIE-LABlab(69.91, 35.51, -36.22)
CIE-LCHlch(69.91, 50.72, 314.43°)
OKLaboklab(75.48% 0.0881 -0.0999)
OKLCHoklch(75.48% 0.133 311.4)
XYZxyz(50.8184, 40.6244, 85.2685)
Luminance0.4062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96ED #B8ED96
analogous
#9F96ED #CB96ED #ED96E3
triadic
#CB96ED #EDCB96 #96EDCB
tetradic
#CB96ED #ED9F96 #B8ED96 #96E3ED
square
#CB96ED #ED9F96 #B8ED96 #96E3ED
split-complementary
#CB96ED #E3ED96 #96ED9F
monochromatic
#972EDB #B162E4 #CB96ED #E5CAF6 #F2E5FB

Accessibility & contrast

On white

2.30
#CB96ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#CB96ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96ED
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96ED#FFFFFF#000000##000000
##CB96ED1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A8F0
Deuteranopia (green-blind)
#92ACEA
Tritanopia (blue-blind)
#C8A2B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb96ed;
/* rgb */ color: rgb(203, 150, 237);
/* oklch */ color: oklch(75.5% 0.133 311.4);
Tailwind
colors: {
  custom: {
    50: '#dcb5f3',
    500: '#cb96ed',
    950: '#000000',
  },
}
SCSS
$custom: #cb96ed;
$custom-light: #dcb5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96ed",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 276.552,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75483,
    "c": 0.13321,
    "h": 311.4
  },
  "luminance": 0.40624
}

Semantic roles & 50–950 ramp

primary
#CB96ED
secondary
#E3F2D9
accent
#D3135E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB96ED

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

Preview Lab → · Contrast checker → · Palette generator →

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