#8862CA#8862CA

#8862CA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.156 H 298.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8862CA
RGBrgb(136, 98, 202)
HSLhsl(262, 50%, 59%)
HSVhsv(262, 51%, 79%)
CMYKcmyk(32.7%, 51.5%, 0%, 20.8%)
CIE-LABlab(49.78, 37.60, -48.77)
CIE-LCHlch(49.78, 61.58, 307.63°)
OKLaboklab(58.26% 0.074 -0.1376)
OKLCHoklch(58.26% 0.156 298.3)
XYZxyz(25.1791, 18.2336, 58.0586)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8862CA #A4CA62
analogous
#6270CA #8862CA #BC62CA
triadic
#8862CA #CA8862 #62CA88
tetradic
#8862CA #CA6270 #A4CA62 #62CABC
square
#8862CA #CA6270 #A4CA62 #62CABC
split-complementary
#8862CA #CABC62 #70CA62
monochromatic
#4D2D85 #673CB3 #8862CA #AB90D9 #CDBEE9

Accessibility & contrast

On white

4.52
#8862CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8862CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8862CA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8862CA#FFFFFF#000000##000000
##8862CA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CE
Deuteranopia (green-blind)
#4675C8
Tritanopia (blue-blind)
#7A768D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8862ca;
/* rgb */ color: rgb(136, 98, 202);
/* oklch */ color: oklch(58.3% 0.156 298.3);
Tailwind
colors: {
  custom: {
    50: '#ae8fdb',
    500: '#8862ca',
    950: '#000000',
  },
}
SCSS
$custom: #8862ca;
$custom-light: #ae8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8862ca",
  "rgb": {
    "r": 136,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 261.923,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.1563,
    "h": 298.3
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#8862CA
secondary
#C9D8AF
accent
#D94FA7
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8862CA

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

Preview Lab → · Contrast checker → · Palette generator →

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