#B862E8#B862E8

#B862E8 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.2% C 0.204 H 311.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B862E8
RGBrgb(184, 98, 232)
HSLhsl(279, 74%, 65%)
HSVhsv(279, 58%, 91%)
CMYKcmyk(20.7%, 57.8%, 0%, 9%)
CIE-LABlab(56.83, 56.64, -54.19)
CIE-LCHlch(56.83, 78.39, 316.27°)
OKLaboklab(65.2% 0.1354 -0.1521)
OKLCHoklch(65.2% 0.204 311.7)
XYZxyz(38.6977, 24.7528, 79.0675)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B862E8 #92E862
analogous
#7562E8 #B862E8 #E862D5
triadic
#B862E8 #E8B862 #62E8B8
tetradic
#B862E8 #E87562 #92E862 #62D5E8
square
#B862E8 #E87562 #92E862 #62D5E8
split-complementary
#B862E8 #D5E862 #62E875
monochromatic
#7E1BB5 #A02DE0 #B862E8 #D097F0 #E8CDF8

Accessibility & contrast

On white

3.53
#B862E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B862E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B862E8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B862E8#FFFFFF#000000##000000
##B862E81.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584EC
Deuteranopia (green-blind)
#588AE5
Tritanopia (blue-blind)
#B37A9C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b862e8;
/* rgb */ color: rgb(184, 98, 232);
/* oklch */ color: oklch(65.2% 0.204 311.7);
Tailwind
colors: {
  custom: {
    50: '#d092f0',
    500: '#b862e8',
    950: '#000000',
  },
}
SCSS
$custom: #b862e8;
$custom-light: #d092f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b862e8",
  "rgb": {
    "r": 184,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 278.507,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.652,
    "c": 0.20369,
    "h": 311.7
  },
  "luminance": 0.24752
}

Semantic roles & 50–950 ramp

primary
#B862E8
secondary
#CCEABC
accent
#D70F56
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B862E8

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

Preview Lab → · Contrast checker → · Palette generator →

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