#862A94#862A94

#862A94 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.9% C 0.179 H 322.1°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#862A94
RGBrgb(134, 42, 148)
HSLhsl(292, 56%, 37%)
HSVhsv(292, 72%, 58%)
CMYKcmyk(9.5%, 71.6%, 0%, 42%)
CIE-LABlab(35.72, 53.17, -39.33)
CIE-LCHlch(35.72, 66.14, 323.51°)
OKLaboklab(46.9% 0.141 -0.1098)
OKLCHoklch(46.9% 0.179 322.1)
XYZxyz(16.0042, 8.8633, 28.8790)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A94 #38942A
analogous
#512A94 #862A94 #942A6D
triadic
#862A94 #94862A #2A9486
tetradic
#862A94 #94512A #38942A #2A6D94
square
#862A94 #94512A #38942A #2A6D94
split-complementary
#862A94 #6D942A #2A9451
monochromatic
#300F35 #5B1C64 #862A94 #B138C4 #C565D3

Accessibility & contrast

On white

7.57
#862A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#862A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A94
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A94#FFFFFF#000000##FFFFFF
##862A941.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#385791
Tritanopia (blue-blind)
#883D5C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862a94;
/* rgb */ color: rgb(134, 42, 148);
/* oklch */ color: oklch(46.9% 0.179 322.1);
Tailwind
colors: {
  custom: {
    50: '#ad6cb4',
    500: '#862a94',
    950: '#000000',
  },
}
SCSS
$custom: #862a94;
$custom-light: #ad6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#862a94",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 292.075,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46904,
    "c": 0.17874,
    "h": 322.1
  },
  "luminance": 0.08862
}

Semantic roles & 50–950 ramp

primary
#862A94
secondary
#6CB960
accent
#DF495D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862A94

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

Preview Lab → · Contrast checker → · Palette generator →

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