#864BC1#864BC1

#864BC1 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.180 H 304.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#864BC1
RGBrgb(134, 75, 193)
HSLhsl(270, 49%, 53%)
HSVhsv(270, 61%, 76%)
CMYKcmyk(30.6%, 61.1%, 0%, 24.3%)
CIE-LABlab(44.16, 47.54, -52.58)
CIE-LCHlch(44.16, 70.89, 312.12°)
OKLaboklab(53.91% 0.1005 -0.1488)
OKLCHoklch(53.91% 0.18 304)
XYZxyz(21.9711, 13.9508, 51.9770)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BC1 #86C14B
analogous
#4B4BC1 #864BC1 #C14BC1
triadic
#864BC1 #C1864B #4BC186
tetradic
#864BC1 #C14B4B #86C14B #4BC1C1
square
#864BC1 #C14B4B #86C14B #4BC1C1
split-complementary
#864BC1 #C1C14B #4BC14B
monochromatic
#49256C #67359A #864BC1 #A579D1 #C3A6E0

Accessibility & contrast

On white

5.54
#864BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#864BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BC1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BC1#FFFFFF#000000##FFFFFF
##864BC11.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0467C5
Deuteranopia (green-blind)
#2D68BE
Tritanopia (blue-blind)
#7B637F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #864bc1;
/* rgb */ color: rgb(134, 75, 193);
/* oklch */ color: oklch(53.9% 0.180 304.0);
Tailwind
colors: {
  custom: {
    50: '#ad80d4',
    500: '#864bc1',
    950: '#000000',
  },
}
SCSS
$custom: #864bc1;
$custom-light: #ad80d4;
$custom-dark: #000000;
JSON
{
  "hex": "#864bc1",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 270,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.17957,
    "h": 304
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#864BC1
secondary
#B4CE9A
accent
#D84F94
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #864BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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