#B862EE#B862EE

#B862EE is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.210 H 310.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B862EE
RGBrgb(184, 98, 238)
HSLhsl(277, 80%, 66%)
HSVhsv(277, 59%, 93%)
CMYKcmyk(22.7%, 58.8%, 0%, 6.7%)
CIE-LABlab(57.17, 57.93, -57.00)
CIE-LCHlch(57.17, 81.27, 315.46°)
OKLaboklab(65.56% 0.1355 -0.1604)
OKLCHoklch(65.56% 0.21 310.2)
XYZxyz(39.5645, 25.0995, 83.6328)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862EE #98EE62
analogous
#7262EE #B862EE #EE62DE
triadic
#B862EE #EEB862 #62EEB8
tetradic
#B862EE #EE7262 #98EE62 #62DEEE
square
#B862EE #EE7262 #98EE62 #62DEEE
split-complementary
#B862EE #DEEE62 #62EE72
monochromatic
#7E15C1 #9F2BE8 #B862EE #D199F4 #EAD0FA

Accessibility & contrast

On white

3.49
#B862EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#B862EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862EE
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862EE#FFFFFF#000000##000000
##B862EE1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D85F2
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#B17C9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b862ee;
/* rgb */ color: rgb(184, 98, 238);
/* oklch */ color: oklch(65.6% 0.210 310.2);
Tailwind
colors: {
  custom: {
    50: '#d193f4',
    500: '#b862ee',
    950: '#000000',
  },
}
SCSS
$custom: #b862ee;
$custom-light: #d193f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b862ee",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 276.857,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65556,
    "c": 0.20996,
    "h": 310.2
  },
  "luminance": 0.25099
}

Semantic roles & 50–950 ramp

primary
#B862EE
secondary
#D1EDBF
accent
#DD095B
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B862EE

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

Preview Lab → · Contrast checker → · Palette generator →

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