#864ABC#864ABC

#864ABC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.175 H 305.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#864ABC
RGBrgb(134, 74, 188)
HSLhsl(272, 46%, 51%)
HSVhsv(272, 61%, 74%)
CMYKcmyk(28.7%, 60.6%, 0%, 26.3%)
CIE-LABlab(43.65, 46.86, -50.49)
CIE-LCHlch(43.65, 68.88, 312.86°)
OKLaboklab(53.43% 0.1018 -0.1427)
OKLCHoklch(53.43% 0.175 305.5)
XYZxyz(21.3554, 13.5969, 49.0666)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ABC #80BC4A
analogous
#4D4ABC #864ABC #BC4AB9
triadic
#864ABC #BC864A #4ABC86
tetradic
#864ABC #BC4D4A #80BC4A #4AB9BC
square
#864ABC #BC4D4A #80BC4A #4AB9BC
split-complementary
#864ABC #B9BC4A #4ABC4D
monochromatic
#472666 #673693 #864ABC #A477CD #C2A3DD

Accessibility & contrast

On white

5.65
#864ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#864ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864ABC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864ABC#FFFFFF#000000##FFFFFF
##864ABC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065C0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#7D617C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #864abc;
/* rgb */ color: rgb(134, 74, 188);
/* oklch */ color: oklch(53.4% 0.175 305.5);
Tailwind
colors: {
  custom: {
    50: '#ad7fd1',
    500: '#864abc',
    950: '#000000',
  },
}
SCSS
$custom: #864abc;
$custom-light: #ad7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#864abc",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 271.579,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53431,
    "c": 0.17531,
    "h": 305.5
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#864ABC
secondary
#B0CA98
accent
#D65290
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #864ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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