#864EA5#864EA5

#864EA5 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.6% C 0.143 H 312.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#864EA5
RGBrgb(134, 78, 165)
HSLhsl(279, 36%, 48%)
HSVhsv(279, 53%, 65%)
CMYKcmyk(18.8%, 52.7%, 0%, 35.3%)
CIE-LABlab(43.11, 39.32, -37.80)
CIE-LCHlch(43.11, 54.54, 316.13°)
OKLaboklab(52.6% 0.0957 -0.1056)
OKLCHoklch(52.6% 0.143 312.2)
XYZxyz(19.3462, 13.2342, 37.1253)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864EA5 #6DA54E
analogous
#5B4EA5 #864EA5 #A54E98
triadic
#864EA5 #A5864E #4EA586
tetradic
#864EA5 #A55B4E #6DA54E #4E98A5
square
#864EA5 #A55B4E #6DA54E #4E98A5
split-complementary
#864EA5 #98A54E #4EA55B
monochromatic
#432752 #643A7B #864EA5 #A373BD #BE9DD1

Accessibility & contrast

On white

5.76
#864EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#864EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864EA5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864EA5#FFFFFF#000000##FFFFFF
##864EA51.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#835C72
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #864ea5;
/* rgb */ color: rgb(134, 78, 165);
/* oklch */ color: oklch(52.6% 0.143 312.2);
Tailwind
colors: {
  custom: {
    50: '#ab82c0',
    500: '#864ea5',
    950: '#000000',
  },
}
SCSS
$custom: #864ea5;
$custom-light: #ab82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#864ea5",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 278.621,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.14253,
    "h": 312.2
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#864EA5
secondary
#A1BD91
accent
#CC5C84
background
#FAF8FB
surface
#F4EFF7
border
#CECAD0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #864EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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