#864EA2#864EA2

#864EA2 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 52.4% C 0.139 H 313.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#864EA2
RGBrgb(134, 78, 162)
HSLhsl(280, 35%, 47%)
HSVhsv(280, 52%, 64%)
CMYKcmyk(17.3%, 51.9%, 0%, 36.5%)
CIE-LABlab(42.95, 38.64, -36.27)
CIE-LCHlch(42.95, 53.00, 316.81°)
OKLaboklab(52.43% 0.0954 -0.1012)
OKLCHoklch(52.43% 0.139 313.3)
XYZxyz(19.0764, 13.1262, 35.7041)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864EA2 #6AA24E
analogous
#5C4EA2 #864EA2 #A24E94
triadic
#864EA2 #A2864E #4EA286
tetradic
#864EA2 #A25C4E #6AA24E #4E94A2
square
#864EA2 #A25C4E #6AA24E #4E94A2
split-complementary
#864EA2 #94A24E #4EA25C
monochromatic
#42264F #643A79 #864EA2 #A372BB #BE9BCF

Accessibility & contrast

On white

5.79
#864EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#864EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864EA2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864EA2#FFFFFF#000000##FFFFFF
##864EA21.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#845B71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #864ea2;
/* rgb */ color: rgb(134, 78, 162);
/* oklch */ color: oklch(52.4% 0.139 313.3);
Tailwind
colors: {
  custom: {
    50: '#ab81be',
    500: '#864ea2',
    950: '#000000',
  },
}
SCSS
$custom: #864ea2;
$custom-light: #ab81be;
$custom-dark: #000000;
JSON
{
  "hex": "#864ea2",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 280,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52431,
    "c": 0.13906,
    "h": 313.3
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#864EA2
secondary
#9FBC90
accent
#CB5D82
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #864EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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