#864FC7#864FC7

#864FC7 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.181 H 301.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#864FC7
RGBrgb(134, 79, 199)
HSLhsl(268, 52%, 55%)
HSVhsv(268, 60%, 78%)
CMYKcmyk(32.7%, 60.3%, 0%, 22%)
CIE-LABlab(45.34, 46.90, -54.17)
CIE-LCHlch(45.34, 71.65, 310.88°)
OKLaboklab(54.88% 0.0954 -0.1535)
OKLCHoklch(54.88% 0.181 301.9)
XYZxyz(22.9339, 14.7838, 55.6671)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FC7 #90C74F
analogous
#4F54C7 #864FC7 #C24FC7
triadic
#864FC7 #C7864F #4FC786
tetradic
#864FC7 #C74F54 #90C74F #4FC7C2
square
#864FC7 #C74F54 #90C74F #4FC7C2
split-complementary
#864FC7 #C7C24F #54C74F
monochromatic
#4A2676 #6834A4 #864FC7 #A67DD6 #C6ACE5

Accessibility & contrast

On white

5.31
#864FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#864FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FC7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FC7#FFFFFF#000000##FFFFFF
##864FC71.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ACB
Deuteranopia (green-blind)
#2B6BC4
Tritanopia (blue-blind)
#796883
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864fc7;
/* rgb */ color: rgb(134, 79, 199);
/* oklch */ color: oklch(54.9% 0.181 301.9);
Tailwind
colors: {
  custom: {
    50: '#ad83d9',
    500: '#864fc7',
    950: '#000000',
  },
}
SCSS
$custom: #864fc7;
$custom-light: #ad83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#864fc7",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 267.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.18075,
    "h": 301.9
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#864FC7
secondary
#BBD2A0
accent
#DB4D9A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #864FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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