#B962F2#B962F2

#B962F2 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.9% C 0.214 H 309.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B962F2
RGBrgb(185, 98, 242)
HSLhsl(276, 85%, 67%)
HSVhsv(276, 60%, 95%)
CMYKcmyk(23.6%, 59.5%, 0%, 5.1%)
CIE-LABlab(57.52, 59.03, -58.66)
CIE-LCHlch(57.52, 83.22, 315.18°)
OKLaboklab(65.91% 0.1367 -0.1652)
OKLCHoklch(65.91% 0.214 309.6)
XYZxyz(40.3992, 25.4612, 86.7735)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B962F2 #9BF262
analogous
#7162F2 #B962F2 #F262E3
triadic
#B962F2 #F2B962 #62F2B9
tetradic
#B962F2 #F27162 #9BF262 #62E3F2
square
#B962F2 #F27162 #9BF262 #62E3F2
split-complementary
#B962F2 #E3F262 #62F271
monochromatic
#8011C9 #A029ED #B962F2 #D29BF7 #EBD3FB

Accessibility & contrast

On white

3.45
#B962F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#B962F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B962F2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B962F2#FFFFFF#000000##000000
##B962F21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F7
Deuteranopia (green-blind)
#508BEF
Tritanopia (blue-blind)
#B17DA1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b962f2;
/* rgb */ color: rgb(185, 98, 242);
/* oklch */ color: oklch(65.9% 0.214 309.6);
Tailwind
colors: {
  custom: {
    50: '#d293f7',
    500: '#b962f2',
    950: '#000000',
  },
}
SCSS
$custom: #b962f2;
$custom-light: #d293f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b962f2",
  "rgb": {
    "r": 185,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 276.25,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65911,
    "c": 0.21445,
    "h": 309.6
  },
  "luminance": 0.2546
}

Semantic roles & 50–950 ramp

primary
#B962F2
secondary
#D3EFC1
accent
#E1045C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B962F2

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

Preview Lab → · Contrast checker → · Palette generator →

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