#862487#862487

#862487 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.175 H 327.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#862487
RGBrgb(134, 36, 135)
HSLhsl(299, 58%, 34%)
HSVhsv(299, 73%, 53%)
CMYKcmyk(0.7%, 73.3%, 0%, 47.1%)
CIE-LABlab(34.15, 53.05, -33.83)
CIE-LCHlch(34.15, 62.92, 327.47°)
OKLaboklab(45.53% 0.1475 -0.0938)
OKLCHoklch(45.53% 0.175 327.6)
XYZxyz(14.8354, 8.0804, 23.6953)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862487 #258724
analogous
#542487 #862487 #872456
triadic
#862487 #878624 #248786
tetradic
#862487 #875424 #258724 #245687
square
#862487 #875424 #258724 #245687
split-complementary
#862487 #568724 #248754
monochromatic
#260A26 #561757 #862487 #B631B7 #D054D1

Accessibility & contrast

On white

8.03
#862487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#862487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862487
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862487#FFFFFF#000000##FFFFFF
##8624871.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10488A
Deuteranopia (green-blind)
#3E5585
Tritanopia (blue-blind)
#8A3353
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #862487;
/* rgb */ color: rgb(134, 36, 135);
/* oklch */ color: oklch(45.5% 0.175 327.6);
Tailwind
colors: {
  custom: {
    50: '#ad69aa',
    500: '#862487',
    950: '#000000',
  },
}
SCSS
$custom: #862487;
$custom-light: #ad69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#862487",
  "rgb": {
    "r": 134,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 299.394,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4553,
    "c": 0.17478,
    "h": 327.6
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#862487
secondary
#52B551
accent
#E14748
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862487

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

Preview Lab → · Contrast checker → · Palette generator →

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