#B962E9#B962E9

#B962E9 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.4% C 0.205 H 311.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B962E9
RGBrgb(185, 98, 233)
HSLhsl(279, 75%, 65%)
HSVhsv(279, 58%, 91%)
CMYKcmyk(20.6%, 57.9%, 0%, 8.6%)
CIE-LABlab(57.01, 57.10, -54.46)
CIE-LCHlch(57.01, 78.91, 316.35°)
OKLaboklab(65.37% 0.1367 -0.1529)
OKLCHoklch(65.37% 0.205 311.8)
XYZxyz(39.0806, 24.9338, 79.8290)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962E9 #92E962
analogous
#7662E9 #B962E9 #E962D5
triadic
#B962E9 #E9B962 #62E9B9
tetradic
#B962E9 #E97662 #92E962 #62D5E9
square
#B962E9 #E97662 #92E962 #62D5E9
split-complementary
#B962E9 #D5E962 #62E976
monochromatic
#7F1AB7 #A12CE1 #B962E9 #D198F1 #E9CDF8

Accessibility & contrast

On white

3.51
#B962E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#B962E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962E9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962E9#FFFFFF#000000##000000
##B962E91.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584ED
Deuteranopia (green-blind)
#588BE6
Tritanopia (blue-blind)
#B47A9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b962e9;
/* rgb */ color: rgb(185, 98, 233);
/* oklch */ color: oklch(65.4% 0.205 311.8);
Tailwind
colors: {
  custom: {
    50: '#d193f1',
    500: '#b962e9',
    950: '#000000',
  },
}
SCSS
$custom: #b962e9;
$custom-light: #d193f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b962e9",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 278.667,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65374,
    "c": 0.20509,
    "h": 311.8
  },
  "luminance": 0.24933
}

Semantic roles & 50–950 ramp

primary
#B962E9
secondary
#CDEABC
accent
#D80E56
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962E9

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

Preview Lab → · Contrast checker → · Palette generator →

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