#B962FA#B962FA

#B962FA is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.4% C 0.223 H 307.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#B962FA
RGBrgb(185, 98, 250)
HSLhsl(274, 94%, 68%)
HSVhsv(274, 61%, 98%)
CMYKcmyk(26%, 60.8%, 0%, 2%)
CIE-LABlab(57.99, 60.78, -62.35)
CIE-LCHlch(57.99, 87.07, 314.27°)
OKLaboklab(66.4% 0.1366 -0.176)
OKLCHoklch(66.4% 0.223 307.8)
XYZxyz(41.6271, 25.9523, 93.2403)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962FA #A3FA62
analogous
#6D62FA #B962FA #FA62EF
triadic
#B962FA #FAB962 #62FAB9
tetradic
#B962FA #FA6D62 #A3FA62 #62EFFA
square
#B962FA #FA6D62 #A3FA62 #62EFFA
split-complementary
#B962FA #EFFA62 #62FA6D
monochromatic
#8007DB #9F27F8 #B962FA #D39DFC #EED9FE

Accessibility & contrast

On white

3.39
#B962FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#B962FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962FA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962FA#FFFFFF#000000##000000
##B962FA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1388FF
Deuteranopia (green-blind)
#488CF6
Tritanopia (blue-blind)
#AF80A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b962fa;
/* rgb */ color: rgb(185, 98, 250);
/* oklch */ color: oklch(66.4% 0.223 307.8);
Tailwind
colors: {
  custom: {
    50: '#d293fd',
    500: '#b962fa',
    950: '#000000',
  },
}
SCSS
$custom: #b962fa;
$custom-light: #d293fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b962fa",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 274.342,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66403,
    "c": 0.2228,
    "h": 307.8
  },
  "luminance": 0.25952
}

Semantic roles & 50–950 ramp

primary
#B962FA
secondary
#D9F3C5
accent
#E60062
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #B962FA

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

Preview Lab → · Contrast checker → · Palette generator →

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