#8862CD#8862CD

#8862CD is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.4% C 0.160 H 297.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8862CD
RGBrgb(136, 98, 205)
HSLhsl(261, 52%, 59%)
HSVhsv(261, 52%, 80%)
CMYKcmyk(33.7%, 52.2%, 0%, 19.6%)
CIE-LABlab(49.95, 38.37, -50.21)
CIE-LCHlch(49.95, 63.20, 307.39°)
OKLaboklab(58.44% 0.0743 -0.1419)
OKLCHoklch(58.44% 0.16 297.6)
XYZxyz(25.5378, 18.3771, 59.9474)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8862CD #A7CD62
analogous
#6272CD #8862CD #BD62CD
triadic
#8862CD #CD8862 #62CD88
tetradic
#8862CD #CD6272 #A7CD62 #62CDBD
square
#8862CD #CD6272 #A7CD62 #62CDBD
split-complementary
#8862CD #CDBD62 #72CD62
monochromatic
#4D2C89 #673AB7 #8862CD #AB90DC #CEBFEB

Accessibility & contrast

On white

4.49
#8862CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8862CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8862CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8862CD#FFFFFF#000000##000000
##8862CD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#4376CA
Tritanopia (blue-blind)
#79778E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8862cd;
/* rgb */ color: rgb(136, 98, 205);
/* oklch */ color: oklch(58.4% 0.160 297.6);
Tailwind
colors: {
  custom: {
    50: '#ae90dd',
    500: '#8862cd',
    950: '#000000',
  },
}
SCSS
$custom: #8862cd;
$custom-light: #ae90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8862cd",
  "rgb": {
    "r": 136,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 261.308,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.16013,
    "h": 297.6
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

primary
#8862CD
secondary
#CBDAB1
accent
#DB4DA9
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8862CD

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

Preview Lab → · Contrast checker → · Palette generator →

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