#864DA2#864DA2

#864DA2 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 52.3% C 0.141 H 313.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#864DA2
RGBrgb(134, 77, 162)
HSLhsl(280, 36%, 47%)
HSVhsv(280, 52%, 64%)
CMYKcmyk(17.3%, 52.5%, 0%, 36.5%)
CIE-LABlab(42.74, 39.19, -36.61)
CIE-LCHlch(42.74, 53.63, 316.95°)
OKLaboklab(52.28% 0.0968 -0.1021)
OKLCHoklch(52.28% 0.141 313.5)
XYZxyz(19.0059, 12.9852, 35.6806)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DA2 #69A24D
analogous
#5B4DA2 #864DA2 #A24D94
triadic
#864DA2 #A2864D #4DA286
tetradic
#864DA2 #A25B4D #69A24D #4D94A2
square
#864DA2 #A25B4D #69A24D #4D94A2
split-complementary
#864DA2 #94A24D #4DA25B
monochromatic
#41264F #643979 #864DA2 #A371BB #BE9ACF

Accessibility & contrast

On white

5.84
#864DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#864DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DA2
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DA2#FFFFFF#000000##FFFFFF
##864DA21.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#845B70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #864da2;
/* rgb */ color: rgb(134, 77, 162);
/* oklch */ color: oklch(52.3% 0.141 313.5);
Tailwind
colors: {
  custom: {
    50: '#ab81be',
    500: '#864da2',
    950: '#000000',
  },
}
SCSS
$custom: #864da2;
$custom-light: #ab81be;
$custom-dark: #000000;
JSON
{
  "hex": "#864da2",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 280.235,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52275,
    "c": 0.14074,
    "h": 313.5
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#864DA2
secondary
#9EBC8F
accent
#CC5C81
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #864DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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