#864EC7#864EC7

#864EC7 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.182 H 302.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#864EC7
RGBrgb(134, 78, 199)
HSLhsl(268, 52%, 54%)
HSVhsv(268, 61%, 78%)
CMYKcmyk(32.7%, 60.8%, 0%, 22%)
CIE-LABlab(45.14, 47.43, -54.49)
CIE-LCHlch(45.14, 72.24, 311.04°)
OKLaboklab(54.74% 0.0966 -0.1545)
OKLCHoklch(54.74% 0.182 302)
XYZxyz(22.8623, 14.6406, 55.6432)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864EC7 #8FC74E
analogous
#4E53C7 #864EC7 #C34EC7
triadic
#864EC7 #C7864E #4EC786
tetradic
#864EC7 #C74E53 #8FC74E #4EC7C3
square
#864EC7 #C74E53 #8FC74E #4EC7C3
split-complementary
#864EC7 #C7C34E #53C74E
monochromatic
#4A2575 #6834A4 #864EC7 #A67CD6 #C6ABE4

Accessibility & contrast

On white

5.35
#864EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#864EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864EC7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864EC7#FFFFFF#000000##FFFFFF
##864EC71.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#2A6AC4
Tritanopia (blue-blind)
#796783
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864ec7;
/* rgb */ color: rgb(134, 78, 199);
/* oklch */ color: oklch(54.7% 0.182 302.0);
Tailwind
colors: {
  custom: {
    50: '#ad82d9',
    500: '#864ec7',
    950: '#000000',
  },
}
SCSS
$custom: #864ec7;
$custom-light: #ad82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#864ec7",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 199
  },
  "hsl": {
    "h": 267.769,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.18219,
    "h": 302
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#864EC7
secondary
#BAD29F
accent
#DB4C99
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #864EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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