#8862DA#8862DA

#8862DA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.177 H 295.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8862DA
RGBrgb(136, 98, 218)
HSLhsl(259, 62%, 62%)
HSVhsv(259, 55%, 85%)
CMYKcmyk(37.6%, 55%, 0%, 14.5%)
CIE-LABlab(50.72, 41.78, -56.38)
CIE-LCHlch(50.72, 70.17, 306.54°)
OKLaboklab(59.27% 0.0748 -0.16)
OKLCHoklch(59.27% 0.177 295.1)
XYZxyz(27.1726, 19.0310, 68.5578)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8862DA #B4DA62
analogous
#6278DA #8862DA #C462DA
triadic
#8862DA #DA8862 #62DA88
tetradic
#8862DA #DA6278 #B4DA62 #62DAC4
square
#8862DA #DA6278 #B4DA62 #62DAC4
split-complementary
#8862DA #DAC462 #78DA62
monochromatic
#4B259D #6331CE #8862DA #AE94E6 #D3C5F1

Accessibility & contrast

On white

4.37
#8862DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8862DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8862DA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8862DA#FFFFFF#000000##000000
##8862DA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#297ADE
Deuteranopia (green-blind)
#3577D7
Tritanopia (blue-blind)
#747B95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8862da;
/* rgb */ color: rgb(136, 98, 218);
/* oklch */ color: oklch(59.3% 0.177 295.1);
Tailwind
colors: {
  custom: {
    50: '#af90e6',
    500: '#8862da',
    950: '#000000',
  },
}
SCSS
$custom: #8862da;
$custom-light: #af90e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8862da",
  "rgb": {
    "r": 136,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 259,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59265,
    "c": 0.1766,
    "h": 295.1
  },
  "luminance": 0.19032
}

Semantic roles & 50–950 ramp

primary
#8862DA
secondary
#D4E2B6
accent
#CA1C93
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8862DA

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

Preview Lab → · Contrast checker → · Palette generator →

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