#B962EA#B962EA

#B962EA is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.4% C 0.206 H 311.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B962EA
RGBrgb(185, 98, 234)
HSLhsl(278, 76%, 65%)
HSVhsv(278, 58%, 92%)
CMYKcmyk(20.9%, 58.1%, 0%, 8.2%)
CIE-LABlab(57.07, 57.31, -54.93)
CIE-LCHlch(57.07, 79.39, 316.22°)
OKLaboklab(65.43% 0.1367 -0.1543)
OKLCHoklch(65.43% 0.206 311.5)
XYZxyz(39.2239, 24.9911, 80.5834)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962EA #93EA62
analogous
#7562EA #B962EA #EA62D7
triadic
#B962EA #EAB962 #62EAB9
tetradic
#B962EA #EA7562 #93EA62 #62D7EA
square
#B962EA #EA7562 #93EA62 #62D7EA
split-complementary
#B962EA #D7EA62 #62EA75
monochromatic
#7F19B9 #A12CE3 #B962EA #D198F1 #E9CEF8

Accessibility & contrast

On white

3.50
#B962EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B962EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962EA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962EA#FFFFFF#000000##000000
##B962EA1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#578BE7
Tritanopia (blue-blind)
#B37B9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b962ea;
/* rgb */ color: rgb(185, 98, 234);
/* oklch */ color: oklch(65.4% 0.206 311.5);
Tailwind
colors: {
  custom: {
    50: '#d193f1',
    500: '#b962ea',
    950: '#000000',
  },
}
SCSS
$custom: #b962ea;
$custom-light: #d193f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b962ea",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 278.382,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65433,
    "c": 0.20612,
    "h": 311.5
  },
  "luminance": 0.2499
}

Semantic roles & 50–950 ramp

primary
#B962EA
secondary
#CDEBBD
accent
#D90D56
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962EA

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

Preview Lab → · Contrast checker → · Palette generator →

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