#B862EA#B862EA

#B862EA is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.3% C 0.206 H 311.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B862EA
RGBrgb(184, 98, 234)
HSLhsl(278, 76%, 65%)
HSVhsv(278, 58%, 92%)
CMYKcmyk(21.4%, 58.1%, 0%, 8.2%)
CIE-LABlab(56.95, 57.07, -55.13)
CIE-LCHlch(56.95, 79.35, 315.99°)
OKLaboklab(65.32% 0.1355 -0.1549)
OKLCHoklch(65.32% 0.206 311.2)
XYZxyz(38.9834, 24.8671, 80.5722)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862EA #94EA62
analogous
#7462EA #B862EA #EA62D8
triadic
#B862EA #EAB862 #62EAB8
tetradic
#B862EA #EA7462 #94EA62 #62D8EA
square
#B862EA #EA7462 #94EA62 #62D8EA
split-complementary
#B862EA #D8EA62 #62EA74
monochromatic
#7E19B9 #A02CE3 #B862EA #D098F1 #E9CEF8

Accessibility & contrast

On white

3.52
#B862EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#B862EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862EA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862EA#FFFFFF#000000##000000
##B862EA1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3384EE
Deuteranopia (green-blind)
#568AE7
Tritanopia (blue-blind)
#B27B9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b862ea;
/* rgb */ color: rgb(184, 98, 234);
/* oklch */ color: oklch(65.3% 0.206 311.2);
Tailwind
colors: {
  custom: {
    50: '#d192f1',
    500: '#b862ea',
    950: '#000000',
  },
}
SCSS
$custom: #b862ea;
$custom-light: #d192f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b862ea",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 277.941,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65318,
    "c": 0.20578,
    "h": 311.2
  },
  "luminance": 0.24866
}

Semantic roles & 50–950 ramp

primary
#B862EA
secondary
#CEEBBD
accent
#D90D58
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B862EA

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

Preview Lab → · Contrast checker → · Palette generator →

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