#CB96F9#CB96F9

#CB96F9 is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.0% C 0.148 H 307.9°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#CB96F9
RGBrgb(203, 150, 249)
HSLhsl(272, 89%, 78%)
HSVhsv(272, 40%, 98%)
CMYKcmyk(18.5%, 39.8%, 0%, 2.4%)
CIE-LABlab(70.42, 38.09, -41.98)
CIE-LCHlch(70.42, 56.69, 312.21°)
OKLaboklab(76.03% 0.0906 -0.1165)
OKLCHoklch(76.03% 0.148 307.9)
XYZxyz(52.6305, 41.3493, 94.8128)
Luminance0.4135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB96F9 #C4F996
analogous
#9996F9 #CB96F9 #F996F6
triadic
#CB96F9 #F9CB96 #96F9CB
tetradic
#CB96F9 #F99996 #C4F996 #96F6F9
square
#CB96F9 #F99996 #C4F996 #96F6F9
split-complementary
#CB96F9 #F6F996 #96F999
monochromatic
#9222F2 #AE5CF6 #CB96F9 #E8D0FC #F1E2FD

Accessibility & contrast

On white

2.27
#CB96F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#CB96F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB96F9
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB96F9#FFFFFF#000000##000000
##CB96F91.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFD
Deuteranopia (green-blind)
#8DADF6
Tritanopia (blue-blind)
#C5A5BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb96f9;
/* rgb */ color: rgb(203, 150, 249);
/* oklch */ color: oklch(76.0% 0.148 307.9);
Tailwind
colors: {
  custom: {
    50: '#dcb5fb',
    500: '#cb96f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb96f9;
$custom-light: #dcb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb96f9",
  "rgb": {
    "r": 203,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 272.121,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76034,
    "c": 0.14753,
    "h": 307.9
  },
  "luminance": 0.41349
}

Semantic roles & 50–950 ramp

primary
#CB96F9
secondary
#E4F5D6
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB96F9

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

Preview Lab → · Contrast checker → · Palette generator →

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