#B962F6#B962F6

#B962F6 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.2% C 0.219 H 308.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B962F6
RGBrgb(185, 98, 246)
HSLhsl(275, 89%, 67%)
HSVhsv(275, 60%, 96%)
CMYKcmyk(24.8%, 60.2%, 0%, 3.5%)
CIE-LABlab(57.76, 59.90, -60.51)
CIE-LCHlch(57.76, 85.15, 314.71°)
OKLaboklab(66.16% 0.1367 -0.1706)
OKLCHoklch(66.16% 0.219 308.7)
XYZxyz(41.0065, 25.7041, 89.9721)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962F6 #9FF662
analogous
#6F62F6 #B962F6 #F662E9
triadic
#B962F6 #F6B962 #62F6B9
tetradic
#B962F6 #F66F62 #9FF662 #62E9F6
square
#B962F6 #F66F62 #9FF662 #62E9F6
split-complementary
#B962F6 #E9F662 #62F66F
monochromatic
#800CD2 #9F28F3 #B962F6 #D39CF9 #EDD6FD

Accessibility & contrast

On white

3.42
#B962F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#B962F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962F6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962F6#FFFFFF#000000##000000
##B962F61.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F87FB
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#B07FA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b962f6;
/* rgb */ color: rgb(185, 98, 246);
/* oklch */ color: oklch(66.2% 0.219 308.7);
Tailwind
colors: {
  custom: {
    50: '#d293fa',
    500: '#b962f6',
    950: '#000000',
  },
}
SCSS
$custom: #b962f6;
$custom-light: #d293fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b962f6",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 275.27,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66155,
    "c": 0.21863,
    "h": 308.7
  },
  "luminance": 0.25703
}

Semantic roles & 50–950 ramp

primary
#B962F6
secondary
#D6F1C3
accent
#E6005F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962F6

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

Preview Lab → · Contrast checker → · Palette generator →

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