#862B90#862B90

#862B90 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.174 H 323.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#862B90
RGBrgb(134, 43, 144)
HSLhsl(294, 54%, 37%)
HSVhsv(294, 70%, 56%)
CMYKcmyk(6.9%, 70.1%, 0%, 43.5%)
CIE-LABlab(35.62, 52.02, -37.05)
CIE-LCHlch(35.62, 63.86, 324.54°)
OKLaboklab(46.75% 0.14 -0.1032)
OKLCHoklch(46.75% 0.174 323.6)
XYZxyz(15.7290, 8.8106, 27.2523)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B90 #35902B
analogous
#542B90 #862B90 #902B68
triadic
#862B90 #90862B #2B9086
tetradic
#862B90 #90542B #35902B #2B6890
square
#862B90 #90542B #35902B #2B6890
split-complementary
#862B90 #68902B #2B9054
monochromatic
#2E0F32 #5A1D61 #862B90 #B239BF #C665D1

Accessibility & contrast

On white

7.60
#862B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#862B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B90
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B90#FFFFFF#000000##FFFFFF
##862B901.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4D93
Deuteranopia (green-blind)
#3C578E
Tritanopia (blue-blind)
#883C5A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862b90;
/* rgb */ color: rgb(134, 43, 144);
/* oklch */ color: oklch(46.8% 0.174 323.6);
Tailwind
colors: {
  custom: {
    50: '#ac6db1',
    500: '#862b90',
    950: '#000000',
  },
}
SCSS
$custom: #862b90;
$custom-light: #ac6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#862b90",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 294.059,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46753,
    "c": 0.17395,
    "h": 323.6
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#862B90
secondary
#68B760
accent
#DD4A59
background
#FAF6FA
surface
#F5ECF5
border
#CFC7CF
text
#110711
muted
#807A80

Preview Lab

Preview with #862B90

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

Preview Lab → · Contrast checker → · Palette generator →

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