#862E8F#862E8F

#862E8F is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.0% C 0.169 H 323.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#862E8F
RGBrgb(134, 46, 143)
HSLhsl(294, 51%, 37%)
HSVhsv(294, 68%, 56%)
CMYKcmyk(6.3%, 67.8%, 0%, 43.9%)
CIE-LABlab(36.00, 50.60, -35.83)
CIE-LCHlch(36.00, 62.00, 324.70°)
OKLaboklab(47.01% 0.1367 -0.0997)
OKLCHoklch(47.01% 0.169 323.9)
XYZxyz(15.7660, 9.0064, 26.8893)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862E8F #378F2E
analogous
#562E8F #862E8F #8F2E68
triadic
#862E8F #8F862E #2E8F86
tetradic
#862E8F #8F562E #378F2E #2E688F
square
#862E8F #8F562E #378F2E #2E688F
split-complementary
#862E8F #688F2E #2E8F56
monochromatic
#2F1032 #5B1F61 #862E8F #B13DBD #C569CF

Accessibility & contrast

On white

7.50
#862E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#862E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862E8F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862E8F#FFFFFF#000000##FFFFFF
##862E8F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#3E588D
Tritanopia (blue-blind)
#883D5B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862e8f;
/* rgb */ color: rgb(134, 46, 143);
/* oklch */ color: oklch(47.0% 0.169 323.9);
Tailwind
colors: {
  custom: {
    50: '#ac6eb0',
    500: '#862e8f',
    950: '#000000',
  },
}
SCSS
$custom: #862e8f;
$custom-light: #ac6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#862e8f",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 294.433,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47007,
    "c": 0.16915,
    "h": 323.9
  },
  "luminance": 0.09005
}

Semantic roles & 50–950 ramp

primary
#862E8F
secondary
#6BB663
accent
#DB4D5A
background
#FAF6FA
surface
#F5ECF5
border
#CFC7CF
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #862E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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