#B862F1#B862F1

#B862F1 is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.7% C 0.213 H 309.5°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B862F1
RGBrgb(184, 98, 241)
HSLhsl(276, 84%, 66%)
HSVhsv(276, 59%, 95%)
CMYKcmyk(23.7%, 59.3%, 0%, 5.5%)
CIE-LABlab(57.34, 58.58, -58.40)
CIE-LCHlch(57.34, 82.72, 315.09°)
OKLaboklab(65.74% 0.1355 -0.1645)
OKLCHoklch(65.74% 0.213 309.5)
XYZxyz(40.0089, 25.2773, 85.9734)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862F1 #9BF162
analogous
#7162F1 #B862F1 #F162E3
triadic
#B862F1 #F1B862 #62F1B8
tetradic
#B862F1 #F17162 #9BF162 #62E3F1
square
#B862F1 #F17162 #9BF162 #62E3F1
split-complementary
#B862F1 #E3F162 #62F171
monochromatic
#7F12C7 #9F2AEC #B862F1 #D19AF6 #EBD2FB

Accessibility & contrast

On white

3.47
#B862F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#B862F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862F1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862F1#FFFFFF#000000##000000
##B862F11.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2886F6
Deuteranopia (green-blind)
#508BEE
Tritanopia (blue-blind)
#B07DA1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b862f1;
/* rgb */ color: rgb(184, 98, 241);
/* oklch */ color: oklch(65.7% 0.213 309.5);
Tailwind
colors: {
  custom: {
    50: '#d193f6',
    500: '#b862f1',
    950: '#000000',
  },
}
SCSS
$custom: #b862f1;
$custom-light: #d193f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b862f1",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 276.084,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65737,
    "c": 0.2131,
    "h": 309.5
  },
  "luminance": 0.25277
}

Semantic roles & 50–950 ramp

primary
#B862F1
secondary
#D3EFC0
accent
#E0055D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B862F1

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

Preview Lab → · Contrast checker → · Palette generator →

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