#B962F5#B962F5

#B962F5 is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.1% C 0.218 H 308.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B962F5
RGBrgb(185, 98, 245)
HSLhsl(276, 88%, 67%)
HSVhsv(276, 60%, 96%)
CMYKcmyk(24.5%, 60%, 0%, 3.9%)
CIE-LABlab(57.70, 59.68, -60.05)
CIE-LCHlch(57.70, 84.67, 314.82°)
OKLaboklab(66.09% 0.1367 -0.1693)
OKLCHoklch(66.09% 0.218 308.9)
XYZxyz(40.8534, 25.6429, 89.1659)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962F5 #9EF562
analogous
#6F62F5 #B962F5 #F562E8
triadic
#B962F5 #F5B962 #62F5B9
tetradic
#B962F5 #F56F62 #9EF562 #62E8F5
square
#B962F5 #F56F62 #9EF562 #62E8F5
split-complementary
#B962F5 #E8F562 #62F56F
monochromatic
#800DCF #9F28F1 #B962F5 #D39CF9 #ECD5FC

Accessibility & contrast

On white

3.43
#B962F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#B962F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962F5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962F5#FFFFFF#000000##000000
##B962F51.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2187FA
Deuteranopia (green-blind)
#4D8CF2
Tritanopia (blue-blind)
#B07EA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b962f5;
/* rgb */ color: rgb(185, 98, 245);
/* oklch */ color: oklch(66.1% 0.218 308.9);
Tailwind
colors: {
  custom: {
    50: '#d293f9',
    500: '#b962f5',
    950: '#000000',
  },
}
SCSS
$custom: #b962f5;
$custom-light: #d293f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b962f5",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 275.51,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66094,
    "c": 0.21759,
    "h": 308.9
  },
  "luminance": 0.25642
}

Semantic roles & 50–950 ramp

primary
#B962F5
secondary
#D5F1C2
accent
#E5015E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962F5

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

Preview Lab → · Contrast checker → · Palette generator →

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