#864BC5#864BC5

#864BC5 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.184 H 303.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#864BC5
RGBrgb(134, 75, 197)
HSLhsl(269, 51%, 53%)
HSVhsv(269, 62%, 77%)
CMYKcmyk(32%, 61.9%, 0%, 22.7%)
CIE-LABlab(44.42, 48.52, -54.49)
CIE-LCHlch(44.42, 72.95, 311.68°)
OKLaboklab(54.18% 0.1003 -0.1544)
OKLCHoklch(54.18% 0.184 303)
XYZxyz(22.4233, 14.1317, 54.3589)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BC5 #8AC54B
analogous
#4B4DC5 #864BC5 #C34BC5
triadic
#864BC5 #C5864B #4BC586
tetradic
#864BC5 #C54B4D #8AC54B #4BC5C3
square
#864BC5 #C54B4D #8AC54B #4BC5C3
split-complementary
#864BC5 #C5C34B #4DC54B
monochromatic
#4A2471 #68339F #864BC5 #A579D4 #C4A8E3

Accessibility & contrast

On white

5.49
#864BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#864BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BC5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BC5#FFFFFF#000000##FFFFFF
##864BC51.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#2869C2
Tritanopia (blue-blind)
#7A6581
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #864bc5;
/* rgb */ color: rgb(134, 75, 197);
/* oklch */ color: oklch(54.2% 0.184 303.0);
Tailwind
colors: {
  custom: {
    50: '#ad80d7',
    500: '#864bc5',
    950: '#000000',
  },
}
SCSS
$custom: #864bc5;
$custom-light: #ad80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#864bc5",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 197
  },
  "hsl": {
    "h": 269.016,
    "s": 51.261,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54177,
    "c": 0.18415,
    "h": 303
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#864BC5
secondary
#B7D09C
accent
#DB4D96
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #864BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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