#864BB5#864BB5

#864BB5 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.166 H 307.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#864BB5
RGBrgb(134, 75, 181)
HSLhsl(273, 42%, 50%)
HSVhsv(273, 59%, 71%)
CMYKcmyk(26%, 58.6%, 0%, 29%)
CIE-LABlab(43.41, 44.66, -46.77)
CIE-LCHlch(43.41, 64.67, 313.68°)
OKLaboklab(53.12% 0.1006 -0.1318)
OKLCHoklch(53.12% 0.166 307.4)
XYZxyz(20.6864, 13.4369, 45.2109)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BB5 #7AB54B
analogous
#514BB5 #864BB5 #B54BAF
triadic
#864BB5 #B5864B #4BB586
tetradic
#864BB5 #B5514B #7AB54B #4BAFB5
square
#864BB5 #B5514B #7AB54B #4BAFB5
split-complementary
#864BB5 #AFB54B #4BB551
monochromatic
#46275F #66398A #864BB5 #A376C7 #C0A2D9

Accessibility & contrast

On white

5.70
#864BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#864BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BB5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BB5#FFFFFF#000000##FFFFFF
##864BB51.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2264B8
Deuteranopia (green-blind)
#3A67B2
Tritanopia (blue-blind)
#7F5F79
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #864bb5;
/* rgb */ color: rgb(134, 75, 181);
/* oklch */ color: oklch(53.1% 0.166 307.4);
Tailwind
colors: {
  custom: {
    50: '#ac80cc',
    500: '#864bb5',
    950: '#000000',
  },
}
SCSS
$custom: #864bb5;
$custom-light: #ac80cc;
$custom-dark: #000000;
JSON
{
  "hex": "#864bb5",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 273.396,
    "s": 41.732,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53121,
    "c": 0.16581,
    "h": 307.4
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#864BB5
secondary
#ABC696
accent
#D2568D
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #864BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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