#B862FB#B862FB

#B862FB is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.4% C 0.224 H 307.2°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B862FB
RGBrgb(184, 98, 251)
HSLhsl(274, 95%, 68%)
HSVhsv(274, 61%, 98%)
CMYKcmyk(26.7%, 61%, 0%, 1.6%)
CIE-LABlab(57.93, 60.77, -63.00)
CIE-LCHlch(57.93, 87.54, 313.97°)
OKLaboklab(66.35% 0.1353 -0.178)
OKLCHoklch(66.35% 0.224 307.2)
XYZxyz(41.5438, 25.8912, 94.0570)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862FB #A5FB62
analogous
#6B62FB #B862FB #FB62F2
triadic
#B862FB #FBB862 #62FBB8
tetradic
#B862FB #FB6B62 #A5FB62 #62F2FB
square
#B862FB #FB6B62 #A5FB62 #62F2FB
split-complementary
#B862FB #F2FB62 #62FB6B
monochromatic
#7F06DD #9D26F9 #B862FB #D39EFD #EED9FE

Accessibility & contrast

On white

3.40
#B862FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B862FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862FB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862FB#FFFFFF#000000##000000
##B862FB1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D88FF
Deuteranopia (green-blind)
#468CF7
Tritanopia (blue-blind)
#AD81A6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b862fb;
/* rgb */ color: rgb(184, 98, 251);
/* oklch */ color: oklch(66.4% 0.224 307.2);
Tailwind
colors: {
  custom: {
    50: '#d193fd',
    500: '#b862fb',
    950: '#000000',
  },
}
SCSS
$custom: #b862fb;
$custom-light: #d193fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b862fb",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 273.725,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66354,
    "c": 0.22357,
    "h": 307.2
  },
  "luminance": 0.25891
}

Semantic roles & 50–950 ramp

primary
#B862FB
secondary
#DAF3C5
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B862FB

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

Preview Lab → · Contrast checker → · Palette generator →

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