#862F80#862F80

#862F80 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.3% C 0.155 H 330.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#862F80
RGBrgb(134, 47, 128)
HSLhsl(304, 48%, 35%)
HSVhsv(304, 65%, 53%)
CMYKcmyk(0%, 64.9%, 4.5%, 47.5%)
CIE-LABlab(35.32, 47.44, -27.64)
CIE-LCHlch(35.32, 54.90, 329.77°)
OKLaboklab(46.25% 0.1347 -0.0759)
OKLCHoklch(46.25% 0.155 330.6)
XYZxyz(14.7442, 8.6609, 21.3130)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F80 #2F8635
analogous
#602F86 #862F80 #862F54
triadic
#862F80 #80862F #2F8086
tetradic
#862F80 #86602F #2F8635 #2F5486
square
#862F80 #86602F #2F8635 #2F5486
split-complementary
#862F80 #54862F #2F8660
monochromatic
#2B0F29 #591F55 #862F80 #B33FAB #C966C3

Accessibility & contrast

On white

7.69
#862F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#862F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F80
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F80#FFFFFF#000000##FFFFFF
##862F801.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B82
Deuteranopia (green-blind)
#47577E
Tritanopia (blue-blind)
#8B3853
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862f80;
/* rgb */ color: rgb(134, 47, 128);
/* oklch */ color: oklch(46.3% 0.155 330.6);
Tailwind
colors: {
  custom: {
    50: '#ac6ea5',
    500: '#862f80',
    950: '#000000',
  },
}
SCSS
$custom: #862f80;
$custom-light: #ac6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#862f80",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 128
  },
  "hsl": {
    "h": 304.138,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46251,
    "c": 0.1546,
    "h": 330.6
  },
  "luminance": 0.0866
}

Semantic roles & 50–950 ramp

primary
#862F80
secondary
#60B066
accent
#D85950
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #862F80

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

Preview Lab → · Contrast checker → · Palette generator →

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