#862B8F#862B8F

#862B8F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.7% C 0.173 H 324.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#862B8F
RGBrgb(134, 43, 143)
HSLhsl(295, 54%, 36%)
HSVhsv(295, 70%, 56%)
CMYKcmyk(6.3%, 69.9%, 0%, 43.9%)
CIE-LABlab(35.56, 51.84, -36.53)
CIE-LCHlch(35.56, 63.41, 324.83°)
OKLaboklab(46.69% 0.1401 -0.1017)
OKLCHoklch(46.69% 0.173 324)
XYZxyz(15.6529, 8.7802, 26.8516)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B8F #348F2B
analogous
#542B8F #862B8F #8F2B66
triadic
#862B8F #8F862B #2B8F86
tetradic
#862B8F #8F542B #348F2B #2B668F
square
#862B8F #8F542B #348F2B #2B668F
split-complementary
#862B8F #668F2B #2B8F54
monochromatic
#2E0F31 #5A1D60 #862B8F #B239BE #C764D0

Accessibility & contrast

On white

7.62
#862B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862B8F
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B8F#FFFFFF#000000##FFFFFF
##862B8F1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#3C578D
Tritanopia (blue-blind)
#893B5A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862b8f;
/* rgb */ color: rgb(134, 43, 143);
/* oklch */ color: oklch(46.7% 0.173 324.0);
Tailwind
colors: {
  custom: {
    50: '#ac6db0',
    500: '#862b8f',
    950: '#000000',
  },
}
SCSS
$custom: #862b8f;
$custom-light: #ac6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#862b8f",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 294.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46691,
    "c": 0.17307,
    "h": 324
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#862B8F
secondary
#67B75F
accent
#DD4B58
background
#FAF6FA
surface
#F5ECF5
border
#CFC7CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #862B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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