#862286#862286

#862286 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.176 H 328.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#862286
RGBrgb(134, 34, 134)
HSLhsl(300, 60%, 33%)
HSVhsv(300, 75%, 53%)
CMYKcmyk(0%, 74.6%, 0%, 47.5%)
CIE-LABlab(33.85, 53.57, -33.70)
CIE-LCHlch(33.85, 63.29, 327.83°)
OKLaboklab(45.29% 0.1495 -0.0934)
OKLCHoklch(45.29% 0.176 328)
XYZxyz(14.7064, 7.9347, 23.3066)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862286 #228622
analogous
#542286 #862286 #862254
triadic
#862286 #868622 #228686
tetradic
#862286 #865422 #228622 #225486
square
#862286 #865422 #228622 #225486
split-complementary
#862286 #548622 #228654
monochromatic
#240924 #551655 #862286 #B72EB7 #D350D3

Accessibility & contrast

On white

8.12
#862286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#862286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862286
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862286#FFFFFF#000000##FFFFFF
##8622861.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4789
Deuteranopia (green-blind)
#3D5483
Tritanopia (blue-blind)
#8A3252
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862286;
/* rgb */ color: rgb(134, 34, 134);
/* oklch */ color: oklch(45.3% 0.176 328.0);
Tailwind
colors: {
  custom: {
    50: '#ad68aa',
    500: '#862286',
    950: '#000000',
  },
}
SCSS
$custom: #862286;
$custom-light: #ad68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#862286",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 300,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45294,
    "c": 0.17623,
    "h": 328
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#862286
secondary
#4EB64E
accent
#E34545
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862286

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

Preview Lab → · Contrast checker → · Palette generator →

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