#864AA2#864AA2

#864AA2 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 51.8% C 0.146 H 313.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#864AA2
RGBrgb(134, 74, 162)
HSLhsl(281, 37%, 46%)
HSVhsv(281, 54%, 64%)
CMYKcmyk(17.3%, 54.3%, 0%, 36.5%)
CIE-LABlab(42.12, 40.83, -37.60)
CIE-LCHlch(42.12, 55.50, 317.36°)
OKLaboklab(51.81% 0.1011 -0.105)
OKLCHoklch(51.81% 0.146 313.9)
XYZxyz(18.8008, 12.5750, 35.6123)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864AA2 #66A24A
analogous
#5A4AA2 #864AA2 #A24A92
triadic
#864AA2 #A2864A #4AA286
tetradic
#864AA2 #A25A4A #66A24A #4A92A2
square
#864AA2 #A25A4A #66A24A #4A92A2
split-complementary
#864AA2 #92A24A #4AA25A
monochromatic
#41244E #633778 #864AA2 #A36DBC #BD97CF

Accessibility & contrast

On white

5.97
#864AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#864AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864AA2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864AA2#FFFFFF#000000##FFFFFF
##864AA21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#4865A0
Tritanopia (blue-blind)
#84586F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #864aa2;
/* rgb */ color: rgb(134, 74, 162);
/* oklch */ color: oklch(51.8% 0.146 313.9);
Tailwind
colors: {
  custom: {
    50: '#ab7fbe',
    500: '#864aa2',
    950: '#000000',
  },
}
SCSS
$custom: #864aa2;
$custom-light: #ab7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#864aa2",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 280.909,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.14573,
    "h": 313.9
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#864AA2
secondary
#9BBC8C
accent
#CD5B7F
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #864AA2

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

Preview Lab → · Contrast checker → · Palette generator →

#864AA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva