#862B92#862B92

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

Color values

HEX#862B92
RGBrgb(134, 43, 146)
HSLhsl(293, 54%, 37%)
HSVhsv(293, 71%, 57%)
CMYKcmyk(8.2%, 70.5%, 0%, 42.7%)
CIE-LABlab(35.74, 52.40, -38.08)
CIE-LCHlch(35.74, 64.77, 323.99°)
OKLaboklab(46.88% 0.14 -0.1062)
OKLCHoklch(46.88% 0.176 322.8)
XYZxyz(15.8832, 8.8723, 28.0645)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B92 #37922B
analogous
#532B92 #862B92 #922B6A
triadic
#862B92 #92862B #2B9286
tetradic
#862B92 #92532B #37922B #2B6A92
square
#862B92 #92532B #37922B #2B6A92
split-complementary
#862B92 #6A922B #2B9253
monochromatic
#2F0F33 #5B1D63 #862B92 #B139C1 #C566D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862B92#FFFFFF#000000##FFFFFF
##862B921.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)
#094D95
Deuteranopia (green-blind)
#3A588F
Tritanopia (blue-blind)
#883D5B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862b92;
/* rgb */ color: rgb(134, 43, 146);
/* oklch */ color: oklch(46.9% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#ac6db2',
    500: '#862b92',
    950: '#000000',
  },
}
SCSS
$custom: #862b92;
$custom-light: #ac6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#862b92",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 293.01,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46878,
    "c": 0.17572,
    "h": 322.8
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#862B92
secondary
#6BB861
accent
#DE4A5B
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862B92

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

Preview Lab → · Contrast checker → · Palette generator →

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