#862287#862287

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

Color values

HEX#862287
RGBrgb(134, 34, 135)
HSLhsl(299, 60%, 33%)
HSVhsv(299, 75%, 53%)
CMYKcmyk(0.7%, 74.8%, 0%, 47.1%)
CIE-LABlab(33.91, 53.74, -34.22)
CIE-LCHlch(33.91, 63.72, 327.51°)
OKLaboklab(45.36% 0.1495 -0.0949)
OKLCHoklch(45.36% 0.177 327.6)
XYZxyz(14.7765, 7.9627, 23.6757)
Luminance0.0796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862287 #238722
analogous
#532287 #862287 #872255
triadic
#862287 #878622 #228786
tetradic
#862287 #875322 #238722 #225587
square
#862287 #875322 #238722 #225587
split-complementary
#862287 #558722 #228753
monochromatic
#250925 #551656 #862287 #B72EB8 #D250D3

Accessibility & contrast

On white

8.10
#862287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862287
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862287#FFFFFF#000000##FFFFFF
##8622871.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B488A
Deuteranopia (green-blind)
#3D5484
Tritanopia (blue-blind)
#8A3253
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862287;
/* rgb */ color: rgb(134, 34, 135);
/* oklch */ color: oklch(45.4% 0.177 327.6);
Tailwind
colors: {
  custom: {
    50: '#ad68aa',
    500: '#862287',
    950: '#000000',
  },
}
SCSS
$custom: #862287;
$custom-light: #ad68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#862287",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 299.406,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45355,
    "c": 0.17704,
    "h": 327.6
  },
  "luminance": 0.07962
}

Semantic roles & 50–950 ramp

primary
#862287
secondary
#4FB74E
accent
#E34546
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862287

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

Preview Lab → · Contrast checker → · Palette generator →

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