#8862AF#8862AF

#8862AF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.7% C 0.121 H 305.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8862AF
RGBrgb(136, 98, 175)
HSLhsl(270, 32%, 54%)
HSVhsv(270, 44%, 69%)
CMYKcmyk(22.3%, 44%, 0%, 31.4%)
CIE-LABlab(48.34, 30.85, -35.42)
CIE-LCHlch(48.34, 46.98, 311.05°)
OKLaboklab(56.72% 0.0708 -0.0987)
OKLCHoklch(56.72% 0.121 305.6)
XYZxyz(22.2573, 17.0649, 42.6704)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8862AF #89AF62
analogous
#6262AF #8862AF #AE62AF
triadic
#8862AF #AF8862 #62AF88
tetradic
#8862AF #AF6262 #89AF62 #62AFAE
square
#8862AF #AF6262 #89AF62 #62AFAE
split-complementary
#8862AF #AFAE62 #62AF62
monochromatic
#4B3364 #69478C #8862AF #A78BC4 #C5B3D8

Accessibility & contrast

On white

4.76
#8862AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8862AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8862AF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8862AF#FFFFFF#000000##FFFFFF
##8862AF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B2
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#826F80
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8862af;
/* rgb */ color: rgb(136, 98, 175);
/* oklch */ color: oklch(56.7% 0.121 305.6);
Tailwind
colors: {
  custom: {
    50: '#ac8fc7',
    500: '#8862af',
    950: '#000000',
  },
}
SCSS
$custom: #8862af;
$custom-light: #ac8fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8862af",
  "rgb": {
    "r": 136,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 269.61,
    "s": 32.489,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56719,
    "c": 0.12148,
    "h": 305.6
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#8862AF
secondary
#B7C7A6
accent
#C95F95
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8862AF

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

Preview Lab → · Contrast checker → · Palette generator →

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