#B861EC#B861EC

#B861EC is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.3% C 0.209 H 310.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B861EC
RGBrgb(184, 97, 236)
HSLhsl(278, 79%, 65%)
HSVhsv(278, 59%, 93%)
CMYKcmyk(22%, 58.9%, 0%, 7.5%)
CIE-LABlab(56.88, 57.99, -56.36)
CIE-LCHlch(56.88, 80.87, 315.82°)
OKLaboklab(65.3% 0.1367 -0.1585)
OKLCHoklch(65.3% 0.209 310.8)
XYZxyz(39.1794, 24.7967, 82.0629)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B861EC #95EC61
analogous
#7261EC #B861EC #EC61DA
triadic
#B861EC #ECB861 #61ECB8
tetradic
#B861EC #EC7261 #95EC61 #61DAEC
square
#B861EC #EC7261 #95EC61 #61DAEC
split-complementary
#B861EC #DAEC61 #61EC72
monochromatic
#7E17BC #9F2AE5 #B861EC #D198F3 #E9CEF9

Accessibility & contrast

On white

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

On black

5.96
#B861EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B861EC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B861EC#FFFFFF#000000##000000
##B861EC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84F0
Deuteranopia (green-blind)
#548AE9
Tritanopia (blue-blind)
#B27B9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b861ec;
/* rgb */ color: rgb(184, 97, 236);
/* oklch */ color: oklch(65.3% 0.209 310.8);
Tailwind
colors: {
  custom: {
    50: '#d192f3',
    500: '#b861ec',
    950: '#000000',
  },
}
SCSS
$custom: #b861ec;
$custom-light: #d192f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b861ec",
  "rgb": {
    "r": 184,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 277.554,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65304,
    "c": 0.2093,
    "h": 310.8
  },
  "luminance": 0.24796
}

Semantic roles & 50–950 ramp

primary
#B861EC
secondary
#CFECBD
accent
#DB0B59
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B861EC

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

Preview Lab → · Contrast checker → · Palette generator →

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