#864ABE#864ABE

#864ABE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.178 H 305.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#864ABE
RGBrgb(134, 74, 190)
HSLhsl(271, 47%, 52%)
HSVhsv(271, 61%, 75%)
CMYKcmyk(29.5%, 61.1%, 0%, 25.5%)
CIE-LABlab(43.78, 47.34, -51.45)
CIE-LCHlch(43.78, 69.92, 312.61°)
OKLaboklab(53.56% 0.1018 -0.1455)
OKLCHoklch(53.56% 0.178 305)
XYZxyz(21.5725, 13.6837, 50.2100)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ABE #82BE4A
analogous
#4C4ABE #864ABE #BE4ABC
triadic
#864ABE #BE864A #4ABE86
tetradic
#864ABE #BE4C4A #82BE4A #4ABCBE
square
#864ABE #BE4C4A #82BE4A #4ABCBE
split-complementary
#864ABE #BCBE4A #4ABE4C
monochromatic
#482568 #673695 #864ABE #A477CE #C2A4DE

Accessibility & contrast

On white

5.62
#864ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#864ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864ABE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864ABE#FFFFFF#000000##FFFFFF
##864ABE1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C2
Deuteranopia (green-blind)
#3068BB
Tritanopia (blue-blind)
#7C627D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #864abe;
/* rgb */ color: rgb(134, 74, 190);
/* oklch */ color: oklch(53.6% 0.178 305.0);
Tailwind
colors: {
  custom: {
    50: '#ad7fd2',
    500: '#864abe',
    950: '#000000',
  },
}
SCSS
$custom: #864abe;
$custom-light: #ad7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#864abe",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 271.034,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53563,
    "c": 0.17758,
    "h": 305
  },
  "luminance": 0.13684
}

Semantic roles & 50–950 ramp

primary
#864ABE
secondary
#B1CB98
accent
#D75192
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #864ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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