#B962EB#B962EB

#B962EB is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.5% C 0.207 H 311.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B962EB
RGBrgb(185, 98, 235)
HSLhsl(278, 77%, 65%)
HSVhsv(278, 58%, 92%)
CMYKcmyk(21.3%, 58.3%, 0%, 7.8%)
CIE-LABlab(57.12, 57.53, -55.40)
CIE-LCHlch(57.12, 79.86, 316.08°)
OKLaboklab(65.49% 0.1367 -0.1557)
OKLCHoklch(65.49% 0.207 311.3)
XYZxyz(39.3679, 25.0487, 81.3422)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962EB #94EB62
analogous
#7462EB #B962EB #EB62D9
triadic
#B962EB #EBB962 #62EBB9
tetradic
#B962EB #EB7462 #94EB62 #62D9EB
square
#B962EB #EB7462 #94EB62 #62D9EB
split-complementary
#B962EB #D9EB62 #62EB74
monochromatic
#7F18BB #A12CE4 #B962EB #D198F2 #E9CFF9

Accessibility & contrast

On white

3.49
#B962EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#B962EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962EB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962EB#FFFFFF#000000##000000
##B962EB1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#B37B9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b962eb;
/* rgb */ color: rgb(185, 98, 235);
/* oklch */ color: oklch(65.5% 0.207 311.3);
Tailwind
colors: {
  custom: {
    50: '#d193f2',
    500: '#b962eb',
    950: '#000000',
  },
}
SCSS
$custom: #b962eb;
$custom-light: #d193f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b962eb",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 278.102,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65492,
    "c": 0.20716,
    "h": 311.3
  },
  "luminance": 0.25048
}

Semantic roles & 50–950 ramp

primary
#B962EB
secondary
#CEEBBD
accent
#DA0C57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962EB

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

Preview Lab → · Contrast checker → · Palette generator →

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