#864CA3#864CA3

#864CA3 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.2% C 0.144 H 313.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#864CA3
RGBrgb(134, 76, 163)
HSLhsl(280, 36%, 47%)
HSVhsv(280, 53%, 64%)
CMYKcmyk(17.8%, 53.4%, 0%, 36.1%)
CIE-LABlab(42.58, 39.96, -37.45)
CIE-LCHlch(42.58, 54.77, 316.86°)
OKLaboklab(52.18% 0.0983 -0.1046)
OKLCHoklch(52.18% 0.144 313.2)
XYZxyz(19.0257, 12.8820, 36.1275)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CA3 #69A34C
analogous
#5B4CA3 #864CA3 #A34C95
triadic
#864CA3 #A3864C #4CA386
tetradic
#864CA3 #A35B4C #69A34C #4C95A3
square
#864CA3 #A35B4C #69A34C #4C95A3
split-complementary
#864CA3 #95A34C #4CA35B
monochromatic
#412550 #643979 #864CA3 #A370BC #BE9AD0

Accessibility & contrast

On white

5.87
#864CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#864CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CA3
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CA3#FFFFFF#000000##FFFFFF
##864CA31.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#835A70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #864ca3;
/* rgb */ color: rgb(134, 76, 163);
/* oklch */ color: oklch(52.2% 0.144 313.2);
Tailwind
colors: {
  custom: {
    50: '#ab80bf',
    500: '#864ca3',
    950: '#000000',
  },
}
SCSS
$custom: #864ca3;
$custom-light: #ab80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#864ca3",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 280,
    "s": 36.402,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.14355,
    "h": 313.2
  },
  "luminance": 0.12882
}

Semantic roles & 50–950 ramp

primary
#864CA3
secondary
#9EBC8F
accent
#CC5B81
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #864CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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