#864ABA#864ABA

#864ABA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.173 H 306.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#864ABA
RGBrgb(134, 74, 186)
HSLhsl(272, 45%, 51%)
HSVhsv(272, 60%, 73%)
CMYKcmyk(28%, 60.2%, 0%, 27.1%)
CIE-LABlab(43.52, 46.38, -49.52)
CIE-LCHlch(43.52, 67.85, 313.12°)
OKLaboklab(53.3% 0.1019 -0.1399)
OKLCHoklch(53.3% 0.173 306.1)
XYZxyz(21.1413, 13.5112, 47.9390)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ABA #7EBA4A
analogous
#4E4ABA #864ABA #BA4AB6
triadic
#864ABA #BA864A #4ABA86
tetradic
#864ABA #BA4E4A #7EBA4A #4AB6BA
square
#864ABA #BA4E4A #7EBA4A #4AB6BA
split-complementary
#864ABA #B6BA4A #4ABA4E
monochromatic
#472664 #673790 #864ABA #A476CB #C1A3DC

Accessibility & contrast

On white

5.67
#864ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#864ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864ABA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864ABA#FFFFFF#000000##FFFFFF
##864ABA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#7D607B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #864aba;
/* rgb */ color: rgb(134, 74, 186);
/* oklch */ color: oklch(53.3% 0.173 306.1);
Tailwind
colors: {
  custom: {
    50: '#ad7fcf',
    500: '#864aba',
    950: '#000000',
  },
}
SCSS
$custom: #864aba;
$custom-light: #ad7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#864aba",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 272.143,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53299,
    "c": 0.17303,
    "h": 306.1
  },
  "luminance": 0.13511
}

Semantic roles & 50–950 ramp

primary
#864ABA
secondary
#AEC997
accent
#D5538F
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #864ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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