#B962EE#B962EE

#B962EE is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.7% C 0.210 H 310.6°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B962EE
RGBrgb(185, 98, 238)
HSLhsl(277, 80%, 66%)
HSVhsv(277, 59%, 93%)
CMYKcmyk(22.3%, 58.8%, 0%, 6.7%)
CIE-LABlab(57.29, 58.17, -56.80)
CIE-LCHlch(57.29, 81.30, 315.68°)
OKLaboklab(65.67% 0.1367 -0.1598)
OKLCHoklch(65.67% 0.21 310.6)
XYZxyz(39.8050, 25.2235, 83.6441)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962EE #97EE62
analogous
#7362EE #B962EE #EE62DD
triadic
#B962EE #EEB962 #62EEB9
tetradic
#B962EE #EE7362 #97EE62 #62DDEE
square
#B962EE #EE7362 #97EE62 #62DDEE
split-complementary
#B962EE #DDEE62 #62EE73
monochromatic
#8015C1 #A02BE8 #B962EE #D299F4 #EAD0FA

Accessibility & contrast

On white

3.47
#B962EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B962EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962EE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962EE#FFFFFF#000000##000000
##B962EE1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E85F2
Deuteranopia (green-blind)
#548BEB
Tritanopia (blue-blind)
#B27C9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b962ee;
/* rgb */ color: rgb(185, 98, 238);
/* oklch */ color: oklch(65.7% 0.210 310.6);
Tailwind
colors: {
  custom: {
    50: '#d193f4',
    500: '#b962ee',
    950: '#000000',
  },
}
SCSS
$custom: #b962ee;
$custom-light: #d193f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b962ee",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 277.286,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6567,
    "c": 0.21029,
    "h": 310.6
  },
  "luminance": 0.25223
}

Semantic roles & 50–950 ramp

primary
#B962EE
secondary
#D0EDBF
accent
#DD0959
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962EE

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

Preview Lab → · Contrast checker → · Palette generator →

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