#B862EF#B862EF

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

Color values

HEX#B862EF
RGBrgb(184, 98, 239)
HSLhsl(277, 82%, 66%)
HSVhsv(277, 59%, 94%)
CMYKcmyk(23%, 59%, 0%, 6.3%)
CIE-LABlab(57.23, 58.15, -57.47)
CIE-LCHlch(57.23, 81.75, 315.34°)
OKLaboklab(65.62% 0.1355 -0.1617)
OKLCHoklch(65.62% 0.211 310)
XYZxyz(39.7119, 25.1585, 84.4087)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862EF #99EF62
analogous
#7162EF #B862EF #EF62DF
triadic
#B862EF #EFB862 #62EFB8
tetradic
#B862EF #EF7162 #99EF62 #62DFEF
square
#B862EF #EF7162 #99EF62 #62DFEF
split-complementary
#B862EF #DFEF62 #62EF71
monochromatic
#7F14C3 #9F2AE9 #B862EF #D19AF5 #EAD1FA

Accessibility & contrast

On white

3.48
#B862EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#B862EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862EF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862EF#FFFFFF#000000##000000
##B862EF1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C86F3
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#B17D9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b862ef;
/* rgb */ color: rgb(184, 98, 239);
/* oklch */ color: oklch(65.6% 0.211 310.0);
Tailwind
colors: {
  custom: {
    50: '#d193f5',
    500: '#b862ef',
    950: '#000000',
  },
}
SCSS
$custom: #b862ef;
$custom-light: #d193f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b862ef",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 276.596,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65617,
    "c": 0.21101,
    "h": 310
  },
  "luminance": 0.25158
}

Semantic roles & 50–950 ramp

primary
#B862EF
secondary
#D1EEBF
accent
#DE085B
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B862EF

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

Preview Lab → · Contrast checker → · Palette generator →

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