#862F99#862F99

#862F99 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.177 H 319.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#862F99
RGBrgb(134, 47, 153)
HSLhsl(289, 53%, 39%)
HSVhsv(289, 69%, 60%)
CMYKcmyk(12.4%, 69.3%, 0%, 40%)
CIE-LABlab(36.75, 52.11, -40.73)
CIE-LCHlch(36.75, 66.14, 321.99°)
OKLaboklab(47.74% 0.1354 -0.114)
OKLCHoklch(47.74% 0.177 319.9)
XYZxyz(16.5971, 9.4021, 31.0714)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F99 #42992F
analogous
#512F99 #862F99 #992F77
triadic
#862F99 #99862F #2F9986
tetradic
#862F99 #99512F #42992F #2F7799
square
#862F99 #99512F #42992F #2F7799
split-complementary
#862F99 #77992F #2F9951
monochromatic
#34123B #5D216A #862F99 #AD41C5 #C16FD3

Accessibility & contrast

On white

7.29
#862F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#862F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F99
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F99#FFFFFF#000000##FFFFFF
##862F991.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03519C
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#864260
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #862f99;
/* rgb */ color: rgb(134, 47, 153);
/* oklch */ color: oklch(47.7% 0.177 319.9);
Tailwind
colors: {
  custom: {
    50: '#ac6fb7',
    500: '#862f99',
    950: '#000000',
  },
}
SCSS
$custom: #862f99;
$custom-light: #ac6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#862f99",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 289.245,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4774,
    "c": 0.17695,
    "h": 319.9
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#862F99
secondary
#78BA69
accent
#DC4B65
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862F99

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

Preview Lab → · Contrast checker → · Palette generator →

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