#B864EA#B864EA

#B864EA is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.203 H 311.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B864EA
RGBrgb(184, 100, 234)
HSLhsl(278, 76%, 65%)
HSVhsv(278, 57%, 92%)
CMYKcmyk(21.4%, 57.3%, 0%, 8.2%)
CIE-LABlab(57.31, 56.08, -54.54)
CIE-LCHlch(57.31, 78.23, 315.80°)
OKLaboklab(65.59% 0.133 -0.1532)
OKLCHoklch(65.59% 0.203 311)
XYZxyz(39.1729, 25.2460, 80.6353)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B864EA #96EA64
analogous
#7564EA #B864EA #EA64D9
triadic
#B864EA #EAB864 #64EAB8
tetradic
#B864EA #EA7564 #96EA64 #64D9EA
square
#B864EA #EA7564 #96EA64 #64D9EA
split-complementary
#B864EA #D9EA64 #64EA75
monochromatic
#7E19BA #9F2EE3 #B864EA #D19AF1 #E9D0F9

Accessibility & contrast

On white

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

On black

6.05
#B864EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B864EA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B864EA#FFFFFF#000000##000000
##B864EA1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#B27C9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b864ea;
/* rgb */ color: rgb(184, 100, 234);
/* oklch */ color: oklch(65.6% 0.203 311.0);
Tailwind
colors: {
  custom: {
    50: '#d094f1',
    500: '#b864ea',
    950: '#000000',
  },
}
SCSS
$custom: #b864ea;
$custom-light: #d094f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b864ea",
  "rgb": {
    "r": 184,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 277.612,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65587,
    "c": 0.20286,
    "h": 311
  },
  "luminance": 0.25245
}

Semantic roles & 50–950 ramp

primary
#B864EA
secondary
#CFEBBE
accent
#D80D59
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B864EA

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

Preview Lab → · Contrast checker → · Palette generator →

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