#864ABB#864ABB

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

Color values

HEX#864ABB
RGBrgb(134, 74, 187)
HSLhsl(272, 45%, 51%)
HSVhsv(272, 60%, 73%)
CMYKcmyk(28.3%, 60.4%, 0%, 26.7%)
CIE-LABlab(43.59, 46.62, -50.01)
CIE-LCHlch(43.59, 68.37, 312.99°)
OKLaboklab(53.36% 0.1018 -0.1413)
OKLCHoklch(53.36% 0.174 305.8)
XYZxyz(21.2480, 13.5539, 48.5009)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ABB #7FBB4A
analogous
#4D4ABB #864ABB #BB4AB8
triadic
#864ABB #BB864A #4ABB86
tetradic
#864ABB #BB4D4A #7FBB4A #4AB8BB
square
#864ABB #BB4D4A #7FBB4A #4AB8BB
split-complementary
#864ABB #B8BB4A #4ABB4D
monochromatic
#472665 #673791 #864ABB #A476CC #C1A3DC

Accessibility & contrast

On white

5.66
#864ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#864ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864ABB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864ABB#FFFFFF#000000##FFFFFF
##864ABB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#7D617B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #864abb;
/* rgb */ color: rgb(134, 74, 187);
/* oklch */ color: oklch(53.4% 0.174 305.8);
Tailwind
colors: {
  custom: {
    50: '#ad7fd0',
    500: '#864abb',
    950: '#000000',
  },
}
SCSS
$custom: #864abb;
$custom-light: #ad7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#864abb",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 271.858,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53365,
    "c": 0.17417,
    "h": 305.8
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#864ABB
secondary
#AFC997
accent
#D55390
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #864ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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