#862D92#862D92

#862D92 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.173 H 322.7°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#862D92
RGBrgb(134, 45, 146)
HSLhsl(293, 53%, 37%)
HSVhsv(293, 69%, 57%)
CMYKcmyk(8.2%, 69.2%, 0%, 42.7%)
CIE-LABlab(36.03, 51.59, -37.62)
CIE-LCHlch(36.03, 63.85, 323.90°)
OKLaboklab(47.09% 0.1378 -0.1049)
OKLCHoklch(47.09% 0.173 322.7)
XYZxyz(15.9577, 9.0213, 28.0893)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D92 #39922D
analogous
#532D92 #862D92 #922D6C
triadic
#862D92 #92862D #2D9286
tetradic
#862D92 #92532D #39922D #2D6C92
square
#862D92 #92532D #39922D #2D6C92
split-complementary
#862D92 #6C922D #2D9253
monochromatic
#301034 #5B1F63 #862D92 #B13BC1 #C469D1

Accessibility & contrast

On white

7.49
#862D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#862D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D92
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D92#FFFFFF#000000##FFFFFF
##862D921.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104E95
Deuteranopia (green-blind)
#3C5890
Tritanopia (blue-blind)
#883E5C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862d92;
/* rgb */ color: rgb(134, 45, 146);
/* oklch */ color: oklch(47.1% 0.173 322.7);
Tailwind
colors: {
  custom: {
    50: '#ac6eb2',
    500: '#862d92',
    950: '#000000',
  },
}
SCSS
$custom: #862d92;
$custom-light: #ac6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#862d92",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 292.871,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47085,
    "c": 0.17316,
    "h": 322.7
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#862D92
secondary
#6DB763
accent
#DC4C5D
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862D92

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

Preview Lab → · Contrast checker → · Palette generator →

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