#864CC7#864CC7

#864CC7 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.185 H 302.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#864CC7
RGBrgb(134, 76, 199)
HSLhsl(268, 52%, 54%)
HSVhsv(268, 62%, 78%)
CMYKcmyk(32.7%, 61.8%, 0%, 22%)
CIE-LABlab(44.75, 48.48, -55.12)
CIE-LCHlch(44.75, 73.41, 311.33°)
OKLaboklab(54.45% 0.099 -0.1563)
OKLCHoklch(54.45% 0.185 302.3)
XYZxyz(22.7224, 14.3607, 55.5966)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CC7 #8DC74C
analogous
#4C50C7 #864CC7 #C44CC7
triadic
#864CC7 #C7864C #4CC786
tetradic
#864CC7 #C74C50 #8DC74C #4CC7C4
square
#864CC7 #C74C50 #8DC74C #4CC7C4
split-complementary
#864CC7 #C7C44C #50C74C
monochromatic
#4A2474 #6833A3 #864CC7 #A67BD6 #C5A9E4

Accessibility & contrast

On white

5.42
#864CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#864CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CC7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CC7#FFFFFF#000000##FFFFFF
##864CC71.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#2669C4
Tritanopia (blue-blind)
#796682
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864cc7;
/* rgb */ color: rgb(134, 76, 199);
/* oklch */ color: oklch(54.5% 0.185 302.3);
Tailwind
colors: {
  custom: {
    50: '#ad81d9',
    500: '#864cc7',
    950: '#000000',
  },
}
SCSS
$custom: #864cc7;
$custom-light: #ad81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#864cc7",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 268.293,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.18502,
    "h": 302.3
  },
  "luminance": 0.14361
}

Semantic roles & 50–950 ramp

primary
#864CC7
secondary
#B9D29D
accent
#DC4C98
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A15
muted
#807C83

Preview Lab

Preview with #864CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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