#8862EA#8862EA

#8862EA is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.3% C 0.197 H 292.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8862EA
RGBrgb(136, 98, 234)
HSLhsl(257, 76%, 65%)
HSVhsv(257, 58%, 92%)
CMYKcmyk(41.9%, 58.1%, 0%, 8.2%)
CIE-LABlab(51.73, 46.07, -63.78)
CIE-LCHlch(51.73, 78.68, 305.84°)
OKLaboklab(60.33% 0.0748 -0.1817)
OKLCHoklch(60.33% 0.197 292.4)
XYZxyz(29.3683, 19.9093, 80.1215)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8862EA #C4EA62
analogous
#6280EA #8862EA #CC62EA
triadic
#8862EA #EA8862 #62EA88
tetradic
#8862EA #EA6280 #C4EA62 #62EACC
square
#8862EA #EA6280 #C4EA62 #62EACC
split-complementary
#8862EA #EACC62 #80EA62
monochromatic
#4519B9 #5F2CE3 #8862EA #B198F1 #DACEF8

Accessibility & contrast

On white

4.22
#8862EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#8862EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8862EA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8862EA#FFFFFF#000000##000000
##8862EA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#1679E7
Tritanopia (blue-blind)
#6D809D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8862ea;
/* rgb */ color: rgb(136, 98, 234);
/* oklch */ color: oklch(60.3% 0.197 292.4);
Tailwind
colors: {
  custom: {
    50: '#b190f1',
    500: '#8862ea',
    950: '#000000',
  },
}
SCSS
$custom: #8862ea;
$custom-light: #b190f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8862ea",
  "rgb": {
    "r": 136,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 256.765,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60332,
    "c": 0.19651,
    "h": 292.4
  },
  "luminance": 0.1991
}

Semantic roles & 50–950 ramp

primary
#8862EA
secondary
#DEEBBD
accent
#D90DA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #8862EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8862EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva