#B962EF#B962EF

#B962EF is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.7% C 0.211 H 310.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B962EF
RGBrgb(185, 98, 239)
HSLhsl(277, 82%, 66%)
HSVhsv(277, 59%, 94%)
CMYKcmyk(22.6%, 59%, 0%, 6.3%)
CIE-LABlab(57.35, 58.38, -57.27)
CIE-LCHlch(57.35, 81.78, 315.55°)
OKLaboklab(65.73% 0.1367 -0.1611)
OKLCHoklch(65.73% 0.211 310.3)
XYZxyz(39.9523, 25.2824, 84.4200)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962EF #98EF62
analogous
#7262EF #B962EF #EF62DF
triadic
#B962EF #EFB962 #62EFB9
tetradic
#B962EF #EF7262 #98EF62 #62DFEF
square
#B962EF #EF7262 #98EF62 #62DFEF
split-complementary
#B962EF #DFEF62 #62EF72
monochromatic
#8014C3 #A02AE9 #B962EF #D29AF5 #EBD1FA

Accessibility & contrast

On white

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

On black

6.06
#B962EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962EF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962EF#FFFFFF#000000##000000
##B962EF1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C86F3
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#B27C9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b962ef;
/* rgb */ color: rgb(185, 98, 239);
/* oklch */ color: oklch(65.7% 0.211 310.3);
Tailwind
colors: {
  custom: {
    50: '#d193f5',
    500: '#b962ef',
    950: '#000000',
  },
}
SCSS
$custom: #b962ef;
$custom-light: #d193f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b962ef",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 277.021,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6573,
    "c": 0.21132,
    "h": 310.3
  },
  "luminance": 0.25282
}

Semantic roles & 50–950 ramp

primary
#B962EF
secondary
#D1EEBF
accent
#DE085A
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962EF

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

Preview Lab → · Contrast checker → · Palette generator →

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