#862F85#862F85

#862F85 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.159 H 328.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#862F85
RGBrgb(134, 47, 133)
HSLhsl(301, 48%, 35%)
HSVhsv(301, 65%, 53%)
CMYKcmyk(0%, 64.9%, 0.7%, 47.5%)
CIE-LABlab(35.59, 48.33, -30.32)
CIE-LCHlch(35.59, 57.05, 327.90°)
OKLaboklab(46.53% 0.1351 -0.0837)
OKLCHoklch(46.53% 0.159 328.2)
XYZxyz(15.0815, 8.7958, 23.0892)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F85 #2F8630
analogous
#5B2F86 #862F85 #862F59
triadic
#862F85 #85862F #2F8586
tetradic
#862F85 #865B2F #2F8630 #2F5986
square
#862F85 #865B2F #2F8630 #2F5986
split-complementary
#862F85 #59862F #2F865B
monochromatic
#2B0F2B #591F58 #862F85 #B33FB2 #C966C8

Accessibility & contrast

On white

7.61
#862F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#862F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F85
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F85#FFFFFF#000000##FFFFFF
##862F851.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C88
Deuteranopia (green-blind)
#445883
Tritanopia (blue-blind)
#8A3A56
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862f85;
/* rgb */ color: rgb(134, 47, 133);
/* oklch */ color: oklch(46.5% 0.159 328.2);
Tailwind
colors: {
  custom: {
    50: '#ac6ea9',
    500: '#862f85',
    950: '#000000',
  },
}
SCSS
$custom: #862f85;
$custom-light: #ac6ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#862f85",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 300.69,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4653,
    "c": 0.1589,
    "h": 328.2
  },
  "luminance": 0.08795
}

Semantic roles & 50–950 ramp

primary
#862F85
secondary
#60B061
accent
#D85250
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #862F85

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

Preview Lab → · Contrast checker → · Palette generator →

#862F85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva