#862288#862288

#862288 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.178 H 327.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#862288
RGBrgb(134, 34, 136)
HSLhsl(299, 60%, 33%)
HSVhsv(299, 75%, 53%)
CMYKcmyk(1.5%, 75%, 0%, 46.7%)
CIE-LABlab(33.96, 53.92, -34.75)
CIE-LCHlch(33.96, 64.15, 327.20°)
OKLaboklab(45.42% 0.1495 -0.0964)
OKLCHoklch(45.42% 0.178 327.2)
XYZxyz(14.8472, 7.9910, 24.0482)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862288 #248822
analogous
#532288 #862288 #882257
triadic
#862288 #888622 #228886
tetradic
#862288 #885322 #248822 #225788
square
#862288 #885322 #248822 #225788
split-complementary
#862288 #578822 #228853
monochromatic
#260A26 #561657 #862288 #B62EB9 #D151D3

Accessibility & contrast

On white

8.08
#862288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#862288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862288
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862288#FFFFFF#000000##FFFFFF
##8622881.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09488B
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#8A3353
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862288;
/* rgb */ color: rgb(134, 34, 136);
/* oklch */ color: oklch(45.4% 0.178 327.2);
Tailwind
colors: {
  custom: {
    50: '#ad68ab',
    500: '#862288',
    950: '#000000',
  },
}
SCSS
$custom: #862288;
$custom-light: #ad68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#862288",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 298.824,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45416,
    "c": 0.17785,
    "h": 327.2
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#862288
secondary
#51B74F
accent
#E34548
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862288

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

Preview Lab → · Contrast checker → · Palette generator →

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