#862C8E#862C8E

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

Color values

HEX#862C8E
RGBrgb(134, 44, 142)
HSLhsl(295, 53%, 36%)
HSVhsv(295, 69%, 56%)
CMYKcmyk(5.6%, 69%, 0%, 44.3%)
CIE-LABlab(35.64, 51.24, -35.78)
CIE-LCHlch(35.64, 62.50, 325.08°)
OKLaboklab(46.73% 0.1389 -0.0995)
OKLCHoklch(46.73% 0.171 324.4)
XYZxyz(15.6143, 8.8236, 26.4666)
Luminance0.0882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C8E #348E2C
analogous
#552C8E #862C8E #8E2C65
triadic
#862C8E #8E862C #2C8E86
tetradic
#862C8E #8E552C #348E2C #2C658E
square
#862C8E #8E552C #348E2C #2C658E
split-complementary
#862C8E #658E2C #2C8E55
monochromatic
#2E0F31 #5A1E5F #862C8E #B23ABD #C765CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862C8E#FFFFFF#000000##FFFFFF
##862C8E1.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)
#154D91
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#893C59
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862c8e;
/* rgb */ color: rgb(134, 44, 142);
/* oklch */ color: oklch(46.7% 0.171 324.4);
Tailwind
colors: {
  custom: {
    50: '#ac6daf',
    500: '#862c8e',
    950: '#000000',
  },
}
SCSS
$custom: #862c8e;
$custom-light: #ac6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#862c8e",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 295.102,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46733,
    "c": 0.17089,
    "h": 324.4
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#862C8E
secondary
#67B660
accent
#DC4C57
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #862C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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