#8862CF#8862CF

#8862CF is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.6% C 0.163 H 297.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8862CF
RGBrgb(136, 98, 207)
HSLhsl(261, 53%, 60%)
HSVhsv(261, 53%, 81%)
CMYKcmyk(34.3%, 52.7%, 0%, 18.8%)
CIE-LABlab(50.07, 38.89, -51.17)
CIE-LCHlch(50.07, 64.27, 307.24°)
OKLaboklab(58.57% 0.0744 -0.1447)
OKLCHoklch(58.57% 0.163 297.2)
XYZxyz(25.7807, 18.4743, 61.2270)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8862CF #A9CF62
analogous
#6273CF #8862CF #BE62CF
triadic
#8862CF #CF8862 #62CF88
tetradic
#8862CF #CF6273 #A9CF62 #62CFBE
square
#8862CF #CF6273 #A9CF62 #62CFBE
split-complementary
#8862CF #CFBE62 #73CF62
monochromatic
#4D2B8C #6639BB #8862CF #AC91DD #CFC0EC

Accessibility & contrast

On white

4.47
#8862CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8862CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8862CF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8862CF#FFFFFF#000000##000000
##8862CF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D3
Deuteranopia (green-blind)
#4176CC
Tritanopia (blue-blind)
#78788F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8862cf;
/* rgb */ color: rgb(136, 98, 207);
/* oklch */ color: oklch(58.6% 0.163 297.2);
Tailwind
colors: {
  custom: {
    50: '#ae90de',
    500: '#8862cf',
    950: '#000000',
  },
}
SCSS
$custom: #8862cf;
$custom-light: #ae90de;
$custom-dark: #000000;
JSON
{
  "hex": "#8862cf",
  "rgb": {
    "r": 136,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 260.917,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58567,
    "c": 0.16268,
    "h": 297.2
  },
  "luminance": 0.18475
}

Semantic roles & 50–950 ramp

primary
#8862CF
secondary
#CDDBB1
accent
#DD4BAA
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8862CF

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

Preview Lab → · Contrast checker → · Palette generator →

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