#862A90#862A90

#862A90 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.175 H 323.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#862A90
RGBrgb(134, 42, 144)
HSLhsl(294, 55%, 36%)
HSVhsv(294, 71%, 56%)
CMYKcmyk(6.9%, 70.8%, 0%, 43.5%)
CIE-LABlab(35.48, 52.42, -37.27)
CIE-LCHlch(35.48, 64.32, 324.59°)
OKLaboklab(46.65% 0.1411 -0.1038)
OKLCHoklch(46.65% 0.175 323.7)
XYZxyz(15.6931, 8.7388, 27.2403)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862A90 #34902A
analogous
#532A90 #862A90 #902A67
triadic
#862A90 #90862A #2A9086
tetradic
#862A90 #90532A #34902A #2A6790
square
#862A90 #90532A #34902A #2A6790
split-complementary
#862A90 #67902A #2A9053
monochromatic
#2E0E31 #5A1C61 #862A90 #B238BF #C763D1

Accessibility & contrast

On white

7.64
#862A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#862A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862A90
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862A90#FFFFFF#000000##FFFFFF
##862A901.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4C93
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#883B5A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862a90;
/* rgb */ color: rgb(134, 42, 144);
/* oklch */ color: oklch(46.7% 0.175 323.7);
Tailwind
colors: {
  custom: {
    50: '#ac6cb1',
    500: '#862a90',
    950: '#000000',
  },
}
SCSS
$custom: #862a90;
$custom-light: #ac6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#862a90",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 294.118,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46652,
    "c": 0.1752,
    "h": 323.7
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#862A90
secondary
#67B75E
accent
#DE4A58
background
#FAF6FA
surface
#F5ECF5
border
#CFC7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #862A90

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

Preview Lab → · Contrast checker → · Palette generator →

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