#B862ED#B862ED

#B862ED is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.5% C 0.209 H 310.4°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B862ED
RGBrgb(184, 98, 237)
HSLhsl(277, 79%, 66%)
HSVhsv(277, 59%, 93%)
CMYKcmyk(22.4%, 58.6%, 0%, 7.1%)
CIE-LABlab(57.12, 57.72, -56.54)
CIE-LCHlch(57.12, 80.79, 315.59°)
OKLaboklab(65.5% 0.1355 -0.159)
OKLCHoklch(65.5% 0.209 310.4)
XYZxyz(39.4180, 25.0409, 82.8612)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862ED #97ED62
analogous
#7262ED #B862ED #ED62DD
triadic
#B862ED #EDB862 #62EDB8
tetradic
#B862ED #ED7262 #97ED62 #62DDED
square
#B862ED #ED7262 #97ED62 #62DDED
split-complementary
#B862ED #DDED62 #62ED72
monochromatic
#7E16BF #9F2BE7 #B862ED #D199F3 #EAD0FA

Accessibility & contrast

On white

3.50
#B862ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#B862ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862ED
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862ED#FFFFFF#000000##000000
##B862ED1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F1
Deuteranopia (green-blind)
#548BEA
Tritanopia (blue-blind)
#B17C9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b862ed;
/* rgb */ color: rgb(184, 98, 237);
/* oklch */ color: oklch(65.5% 0.209 310.4);
Tailwind
colors: {
  custom: {
    50: '#d193f3',
    500: '#b862ed',
    950: '#000000',
  },
}
SCSS
$custom: #b862ed;
$custom-light: #d193f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b862ed",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 277.122,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65497,
    "c": 0.20892,
    "h": 310.4
  },
  "luminance": 0.2504
}

Semantic roles & 50–950 ramp

primary
#B862ED
secondary
#D0EDBE
accent
#DC0A5A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B862ED

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

Preview Lab → · Contrast checker → · Palette generator →

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