#8862DC#8862DC

#8862DC is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.179 H 294.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8862DC
RGBrgb(136, 98, 220)
HSLhsl(259, 64%, 62%)
HSVhsv(259, 55%, 86%)
CMYKcmyk(38.2%, 55.5%, 0%, 13.7%)
CIE-LABlab(50.85, 42.31, -57.32)
CIE-LCHlch(50.85, 71.24, 306.44°)
OKLaboklab(59.4% 0.0749 -0.1627)
OKLCHoklch(59.4% 0.179 294.7)
XYZxyz(27.4359, 19.1363, 69.9444)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8862DC #B6DC62
analogous
#6279DC #8862DC #C562DC
triadic
#8862DC #DC8862 #62DC88
tetradic
#8862DC #DC6279 #B6DC62 #62DCC5
square
#8862DC #DC6279 #B6DC62 #62DCC5
split-complementary
#8862DC #DCC562 #79DC62
monochromatic
#4A24A0 #6230D1 #8862DC #AE94E7 #D4C6F2

Accessibility & contrast

On white

4.35
#8862DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8862DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8862DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8862DC#FFFFFF#000000##000000
##8862DC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#267AE0
Deuteranopia (green-blind)
#3277D9
Tritanopia (blue-blind)
#737C96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8862dc;
/* rgb */ color: rgb(136, 98, 220);
/* oklch */ color: oklch(59.4% 0.179 294.7);
Tailwind
colors: {
  custom: {
    50: '#af90e7',
    500: '#8862dc',
    950: '#000000',
  },
}
SCSS
$custom: #8862dc;
$custom-light: #af90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8862dc",
  "rgb": {
    "r": 136,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 258.689,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59395,
    "c": 0.17911,
    "h": 294.7
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#8862DC
secondary
#D5E3B7
accent
#CB1A94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8862DC

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

Preview Lab → · Contrast checker → · Palette generator →

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