#864FD7#864FD7

#864FD7 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.199 H 298.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#864FD7
RGBrgb(134, 79, 215)
HSLhsl(264, 63%, 58%)
HSVhsv(264, 63%, 84%)
CMYKcmyk(37.7%, 63.3%, 0%, 15.7%)
CIE-LABlab(46.40, 50.92, -61.65)
CIE-LCHlch(46.40, 79.96, 309.56°)
OKLaboklab(55.99% 0.0945 -0.1755)
OKLCHoklch(55.99% 0.199 298.3)
XYZxyz(24.8902, 15.5663, 65.9700)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FD7 #A0D74F
analogous
#4F5CD7 #864FD7 #CA4FD7
triadic
#864FD7 #D7864F #4FD786
tetradic
#864FD7 #D74F5C #A0D74F #4FD7CA
square
#864FD7 #D74F5C #A0D74F #4FD7CA
split-complementary
#864FD7 #D7CA4F #5CD74F
monochromatic
#4B208C #662BBE #864FD7 #A881E2 #CBB3EE

Accessibility & contrast

On white

5.11
#864FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#864FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FD7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FD7#FFFFFF#000000##FFFFFF
##864FD71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#006DD4
Tritanopia (blue-blind)
#736D8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864fd7;
/* rgb */ color: rgb(134, 79, 215);
/* oklch */ color: oklch(56.0% 0.199 298.3);
Tailwind
colors: {
  custom: {
    50: '#af83e4',
    500: '#864fd7',
    950: '#000000',
  },
}
SCSS
$custom: #864fd7;
$custom-light: #af83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#864fd7",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 264.265,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55994,
    "c": 0.19933,
    "h": 298.3
  },
  "luminance": 0.15567
}

Semantic roles & 50–950 ramp

primary
#864FD7
secondary
#C6DCA6
accent
#E642A4
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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