#8862DB#8862DB

#8862DB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.3% C 0.178 H 294.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8862DB
RGBrgb(136, 98, 219)
HSLhsl(259, 63%, 62%)
HSVhsv(259, 55%, 86%)
CMYKcmyk(37.9%, 55.3%, 0%, 14.1%)
CIE-LABlab(50.78, 42.05, -56.85)
CIE-LCHlch(50.78, 70.71, 306.49°)
OKLaboklab(59.33% 0.0748 -0.1613)
OKLCHoklch(59.33% 0.178 294.9)
XYZxyz(27.3039, 19.0835, 69.2490)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8862DB #B5DB62
analogous
#6279DB #8862DB #C562DB
triadic
#8862DB #DB8862 #62DB88
tetradic
#8862DB #DB6279 #B5DB62 #62DBC5
square
#8862DB #DB6279 #B5DB62 #62DBC5
split-complementary
#8862DB #DBC562 #79DB62
monochromatic
#4B249E #6230D0 #8862DB #AE94E6 #D3C6F2

Accessibility & contrast

On white

4.36
#8862DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8862DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8862DB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8862DB#FFFFFF#000000##000000
##8862DB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#3477D8
Tritanopia (blue-blind)
#747B95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8862db;
/* rgb */ color: rgb(136, 98, 219);
/* oklch */ color: oklch(59.3% 0.178 294.9);
Tailwind
colors: {
  custom: {
    50: '#af90e7',
    500: '#8862db',
    950: '#000000',
  },
}
SCSS
$custom: #8862db;
$custom-light: #af90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8862db",
  "rgb": {
    "r": 136,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 258.843,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5933,
    "c": 0.17785,
    "h": 294.9
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#8862DB
secondary
#D5E3B6
accent
#CA1B93
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8862DB

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

Preview Lab → · Contrast checker → · Palette generator →

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