#864DC7#864DC7

#864DC7 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.184 H 302.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#864DC7
RGBrgb(134, 77, 199)
HSLhsl(268, 52%, 54%)
HSVhsv(268, 61%, 78%)
CMYKcmyk(32.7%, 61.3%, 0%, 22%)
CIE-LABlab(44.94, 47.96, -54.81)
CIE-LCHlch(44.94, 72.83, 311.19°)
OKLaboklab(54.6% 0.0978 -0.1554)
OKLCHoklch(54.6% 0.184 302.2)
XYZxyz(22.7918, 14.4996, 55.6197)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DC7 #8EC74D
analogous
#4D51C7 #864DC7 #C34DC7
triadic
#864DC7 #C7864D #4DC786
tetradic
#864DC7 #C74D51 #8EC74D #4DC7C3
square
#864DC7 #C74D51 #8EC74D #4DC7C3
split-complementary
#864DC7 #C7C34D #51C74D
monochromatic
#4A2575 #6833A3 #864DC7 #A67CD6 #C5AAE4

Accessibility & contrast

On white

5.38
#864DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#864DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DC7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DC7#FFFFFF#000000##FFFFFF
##864DC71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#286AC4
Tritanopia (blue-blind)
#796783
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864dc7;
/* rgb */ color: rgb(134, 77, 199);
/* oklch */ color: oklch(54.6% 0.184 302.2);
Tailwind
colors: {
  custom: {
    50: '#ad82d9',
    500: '#864dc7',
    950: '#000000',
  },
}
SCSS
$custom: #864dc7;
$custom-light: #ad82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#864dc7",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 268.033,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54596,
    "c": 0.18361,
    "h": 302.2
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#864DC7
secondary
#BAD29E
accent
#DC4C99
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #864DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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