#B861EB#B861EB

#B861EB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.2% C 0.208 H 311.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B861EB
RGBrgb(184, 97, 235)
HSLhsl(278, 78%, 65%)
HSVhsv(278, 59%, 92%)
CMYKcmyk(21.7%, 58.7%, 0%, 7.8%)
CIE-LABlab(56.82, 57.78, -55.89)
CIE-LCHlch(56.82, 80.39, 315.95°)
OKLaboklab(65.25% 0.1367 -0.1571)
OKLCHoklch(65.25% 0.208 311)
XYZxyz(39.0345, 24.7387, 81.2999)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B861EB #94EB61
analogous
#7361EB #B861EB #EB61D9
triadic
#B861EB #EBB861 #61EBB8
tetradic
#B861EB #EB7361 #94EB61 #61D9EB
square
#B861EB #EB7361 #94EB61 #61D9EB
split-complementary
#B861EB #D9EB61 #61EB73
monochromatic
#7E18BA #A02BE4 #B861EB #D097F2 #E9CEF9

Accessibility & contrast

On white

3.53
#B861EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B861EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B861EB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B861EB#FFFFFF#000000##000000
##B861EB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#548AE8
Tritanopia (blue-blind)
#B27A9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b861eb;
/* rgb */ color: rgb(184, 97, 235);
/* oklch */ color: oklch(65.2% 0.208 311.0);
Tailwind
colors: {
  custom: {
    50: '#d192f2',
    500: '#b861eb',
    950: '#000000',
  },
}
SCSS
$custom: #b861eb;
$custom-light: #d192f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b861eb",
  "rgb": {
    "r": 184,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 277.826,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65245,
    "c": 0.20826,
    "h": 311
  },
  "luminance": 0.24738
}

Semantic roles & 50–950 ramp

primary
#B861EB
secondary
#CEEBBD
accent
#DA0C58
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B861EB

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

Preview Lab → · Contrast checker → · Palette generator →

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