#CB96EF#CB96EF

#CB96EF is a light, vivid violet. Relative luminance 0.407; OKLCH L 75.6% C 0.136 H 310.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#CB96EF
RGBrgb(203, 150, 239)
HSLhsl(276, 74%, 76%)
HSVhsv(276, 37%, 94%)
CMYKcmyk(15.1%, 37.2%, 0%, 6.3%)
CIE-LABlab(69.99, 35.93, -37.19)
CIE-LCHlch(69.99, 51.71, 314.01°)
OKLaboklab(75.57% 0.0885 -0.1027)
OKLCHoklch(75.57% 0.136 310.8)
XYZxyz(51.1122, 40.7419, 86.8160)
Luminance0.4074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96EF #BAEF96
analogous
#9F96EF #CB96EF #EF96E7
triadic
#CB96EF #EFCB96 #96EFCB
tetradic
#CB96EF #EF9F96 #BAEF96 #96E7EF
square
#CB96EF #EF9F96 #BAEF96 #96E7EF
split-complementary
#CB96EF #E7EF96 #96EF9F
monochromatic
#962CDF #B161E7 #CB96EF #E5CBF7 #F2E4FB

Accessibility & contrast

On white

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

On black

9.15
#CB96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96EF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96EF#FFFFFF#000000##000000
##CB96EF1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F2
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#C7A3B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb96ef;
/* rgb */ color: rgb(203, 150, 239);
/* oklch */ color: oklch(75.6% 0.136 310.8);
Tailwind
colors: {
  custom: {
    50: '#dcb5f4',
    500: '#cb96ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb96ef;
$custom-light: #dcb5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96ef",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 275.73,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75573,
    "c": 0.13558,
    "h": 310.8
  },
  "luminance": 0.40741
}

Semantic roles & 50–950 ramp

primary
#CB96EF
secondary
#E3F3D8
accent
#D61060
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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