#864FAC#864FAC

#864FAC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.2% C 0.149 H 309.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#864FAC
RGBrgb(134, 79, 172)
HSLhsl(275, 37%, 49%)
HSVhsv(275, 54%, 67%)
CMYKcmyk(22.1%, 54.1%, 0%, 32.5%)
CIE-LABlab(43.71, 40.38, -41.00)
CIE-LCHlch(43.71, 57.54, 314.56°)
OKLaboklab(53.17% 0.0949 -0.1149)
OKLCHoklch(53.17% 0.149 309.5)
XYZxyz(20.0725, 13.6392, 40.5969)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FAC #75AC4F
analogous
#584FAC #864FAC #AC4FA4
triadic
#864FAC #AC864F #4FAC86
tetradic
#864FAC #AC584F #75AC4F #4FA4AC
square
#864FAC #AC584F #75AC4F #4FA4AC
split-complementary
#864FAC #A4AC4F #4FAC58
monochromatic
#452858 #653C82 #864FAC #A377C1 #BFA1D4

Accessibility & contrast

On white

5.63
#864FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#864FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FAC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FAC#FFFFFF#000000##FFFFFF
##864FAC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3465AF
Deuteranopia (green-blind)
#4668AA
Tritanopia (blue-blind)
#815F76
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #864fac;
/* rgb */ color: rgb(134, 79, 172);
/* oklch */ color: oklch(53.2% 0.149 309.5);
Tailwind
colors: {
  custom: {
    50: '#ac82c5',
    500: '#864fac',
    950: '#000000',
  },
}
SCSS
$custom: #864fac;
$custom-light: #ac82c5;
$custom-dark: #000000;
JSON
{
  "hex": "#864fac",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 275.484,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53169,
    "c": 0.14905,
    "h": 309.5
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#864FAC
secondary
#A7C196
accent
#CD5B89
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #864FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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