#8862EE#8862EE

#8862EE is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.201 H 291.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8862EE
RGBrgb(136, 98, 238)
HSLhsl(256, 80%, 66%)
HSVhsv(256, 59%, 93%)
CMYKcmyk(42.9%, 58.8%, 0%, 6.7%)
CIE-LABlab(52.00, 47.15, -65.60)
CIE-LCHlch(52.00, 80.78, 305.71°)
OKLaboklab(60.61% 0.0747 -0.1871)
OKLCHoklch(60.61% 0.201 291.8)
XYZxyz(29.9494, 20.1417, 83.1821)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8862EE #C8EE62
analogous
#6282EE #8862EE #CE62EE
triadic
#8862EE #EE8862 #62EE88
tetradic
#8862EE #EE6282 #C8EE62 #62EECE
square
#8862EE #EE6282 #C8EE62 #62EECE
split-complementary
#8862EE #EECE62 #82EE62
monochromatic
#4415C1 #5E2BE8 #8862EE #B299F4 #DCD0FA

Accessibility & contrast

On white

4.18
#8862EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8862EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8862EE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8862EE#FFFFFF#000000##000000
##8862EE1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#0279EB
Tritanopia (blue-blind)
#6B819F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8862ee;
/* rgb */ color: rgb(136, 98, 238);
/* oklch */ color: oklch(60.6% 0.201 291.8);
Tailwind
colors: {
  custom: {
    50: '#b190f4',
    500: '#8862ee',
    950: '#000000',
  },
}
SCSS
$custom: #8862ee;
$custom-light: #b190f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8862ee",
  "rgb": {
    "r": 136,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 256.286,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60608,
    "c": 0.20142,
    "h": 291.8
  },
  "luminance": 0.20143
}

Semantic roles & 50–950 ramp

primary
#8862EE
secondary
#E0EDBF
accent
#DD09A3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110D17
muted
#807D85

Preview Lab

Preview with #8862EE

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

Preview Lab → · Contrast checker → · Palette generator →

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