#862788#862788

#862788 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.172 H 327.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#862788
RGBrgb(134, 39, 136)
HSLhsl(299, 55%, 34%)
HSVhsv(299, 71%, 53%)
CMYKcmyk(1.5%, 71.3%, 0%, 46.7%)
CIE-LABlab(34.60, 52.12, -33.75)
CIE-LCHlch(34.60, 62.09, 327.08°)
OKLaboklab(45.87% 0.1444 -0.0935)
OKLCHoklch(45.87% 0.172 327.1)
XYZxyz(15.0007, 8.2980, 24.0994)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862788 #298827
analogous
#562788 #862788 #88275A
triadic
#862788 #888627 #278886
tetradic
#862788 #885627 #298827 #275A88
square
#862788 #885627 #298827 #275A88
split-complementary
#862788 #5A8827 #278856
monochromatic
#280C29 #571958 #862788 #B535B8 #CD5AD0

Accessibility & contrast

On white

7.90
#862788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#862788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862788
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862788#FFFFFF#000000##FFFFFF
##8627881.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144A8B
Deuteranopia (green-blind)
#3E5686
Tritanopia (blue-blind)
#8A3655
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862788;
/* rgb */ color: rgb(134, 39, 136);
/* oklch */ color: oklch(45.9% 0.172 327.1);
Tailwind
colors: {
  custom: {
    50: '#ac6bab',
    500: '#862788',
    950: '#000000',
  },
}
SCSS
$custom: #862788;
$custom-light: #ac6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#862788",
  "rgb": {
    "r": 134,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 298.763,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45868,
    "c": 0.17204,
    "h": 327.1
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#862788
secondary
#58B556
accent
#DF494C
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862788

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

Preview Lab → · Contrast checker → · Palette generator →

#862788 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva