#B862E6#B862E6

#B862E6 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.1% C 0.202 H 312.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B862E6
RGBrgb(184, 98, 230)
HSLhsl(279, 73%, 64%)
HSVhsv(279, 57%, 90%)
CMYKcmyk(20%, 57.4%, 0%, 9.8%)
CIE-LABlab(56.72, 56.22, -53.25)
CIE-LCHlch(56.72, 77.43, 316.55°)
OKLaboklab(65.08% 0.1354 -0.1494)
OKLCHoklch(65.08% 0.202 312.2)
XYZxyz(38.4152, 24.6398, 77.5799)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862E6 #90E662
analogous
#7662E6 #B862E6 #E662D2
triadic
#B862E6 #E6B862 #62E6B8
tetradic
#B862E6 #E67662 #90E662 #62D2E6
square
#B862E6 #E67662 #90E662 #62D2E6
split-complementary
#B862E6 #D2E662 #62E676
monochromatic
#7D1CB1 #A02DDE #B862E6 #D097EE #E8CCF7

Accessibility & contrast

On white

3.54
#B862E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B862E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862E6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862E6#FFFFFF#000000##000000
##B862E61.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EA
Deuteranopia (green-blind)
#598AE3
Tritanopia (blue-blind)
#B3799B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b862e6;
/* rgb */ color: rgb(184, 98, 230);
/* oklch */ color: oklch(65.1% 0.202 312.2);
Tailwind
colors: {
  custom: {
    50: '#d092ee',
    500: '#b862e6',
    950: '#000000',
  },
}
SCSS
$custom: #b862e6;
$custom-light: #d092ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b862e6",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 279.091,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65084,
    "c": 0.20161,
    "h": 312.2
  },
  "luminance": 0.24639
}

Semantic roles & 50–950 ramp

primary
#B862E6
secondary
#CBE9BB
accent
#D51155
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B862E6

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

Preview Lab → · Contrast checker → · Palette generator →

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