#B962ED#B962ED

#B962ED is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.209 H 310.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#B962ED
RGBrgb(185, 98, 237)
HSLhsl(278, 79%, 66%)
HSVhsv(278, 59%, 93%)
CMYKcmyk(21.9%, 58.6%, 0%, 7.1%)
CIE-LABlab(57.24, 57.95, -56.34)
CIE-LCHlch(57.24, 80.82, 315.81°)
OKLaboklab(65.61% 0.1367 -0.1584)
OKLCHoklch(65.61% 0.209 310.8)
XYZxyz(39.6585, 25.1649, 82.8725)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962ED #96ED62
analogous
#7362ED #B962ED #ED62DB
triadic
#B962ED #EDB962 #62EDB9
tetradic
#B962ED #ED7362 #96ED62 #62DBED
square
#B962ED #ED7362 #96ED62 #62DBED
split-complementary
#B962ED #DBED62 #62ED73
monochromatic
#8016BF #A12BE7 #B962ED #D199F3 #EAD0FA

Accessibility & contrast

On white

3.48
#B962ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B962ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962ED
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962ED#FFFFFF#000000##000000
##B962ED1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F1
Deuteranopia (green-blind)
#558BEA
Tritanopia (blue-blind)
#B37C9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b962ed;
/* rgb */ color: rgb(185, 98, 237);
/* oklch */ color: oklch(65.6% 0.209 310.8);
Tailwind
colors: {
  custom: {
    50: '#d193f3',
    500: '#b962ed',
    950: '#000000',
  },
}
SCSS
$custom: #b962ed;
$custom-light: #d193f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b962ed",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 277.554,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6561,
    "c": 0.20924,
    "h": 310.8
  },
  "luminance": 0.25164
}

Semantic roles & 50–950 ramp

primary
#B962ED
secondary
#D0EDBE
accent
#DC0A58
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962ED

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

Preview Lab → · Contrast checker → · Palette generator →

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