#B862EB#B862EB

#B862EB is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.4% C 0.207 H 310.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B862EB
RGBrgb(184, 98, 235)
HSLhsl(278, 77%, 65%)
HSVhsv(278, 58%, 92%)
CMYKcmyk(21.7%, 58.3%, 0%, 7.8%)
CIE-LABlab(57.00, 57.29, -55.60)
CIE-LCHlch(57.00, 79.83, 315.86°)
OKLaboklab(65.38% 0.1355 -0.1563)
OKLCHoklch(65.38% 0.207 310.9)
XYZxyz(39.1275, 24.9247, 81.3309)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862EB #95EB62
analogous
#7362EB #B862EB #EB62DA
triadic
#B862EB #EBB862 #62EBB8
tetradic
#B862EB #EB7362 #95EB62 #62DAEB
square
#B862EB #EB7362 #95EB62 #62DAEB
split-complementary
#B862EB #DAEB62 #62EB73
monochromatic
#7E18BB #9F2CE4 #B862EB #D198F2 #E9CFF9

Accessibility & contrast

On white

3.51
#B862EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#B862EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862EB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862EB#FFFFFF#000000##000000
##B862EB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#B27B9D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b862eb;
/* rgb */ color: rgb(184, 98, 235);
/* oklch */ color: oklch(65.4% 0.207 310.9);
Tailwind
colors: {
  custom: {
    50: '#d192f2',
    500: '#b862eb',
    950: '#000000',
  },
}
SCSS
$custom: #b862eb;
$custom-light: #d192f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b862eb",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 277.664,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65377,
    "c": 0.20683,
    "h": 310.9
  },
  "luminance": 0.24924
}

Semantic roles & 50–950 ramp

primary
#B862EB
secondary
#CFEBBD
accent
#DA0C58
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B862EB

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

Preview Lab → · Contrast checker → · Palette generator →

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