#864AE7#864AE7

#864AE7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.224 H 295.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#864AE7
RGBrgb(134, 74, 231)
HSLhsl(263, 77%, 60%)
HSVhsv(263, 68%, 91%)
CMYKcmyk(42%, 68%, 0%, 9.4%)
CIE-LABlab(46.62, 57.53, -70.38)
CIE-LCHlch(46.62, 90.90, 309.26°)
OKLaboklab(56.52% 0.0978 -0.2012)
OKLCHoklch(56.52% 0.224 295.9)
XYZxyz(26.7003, 15.7348, 77.2162)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864AE7 #ABE74A
analogous
#4A5DE7 #864AE7 #D44AE7
triadic
#864AE7 #E7864A #4AE786
tetradic
#864AE7 #E74A5D #ABE74A #4AE7D4
square
#864AE7 #E74A5D #ABE74A #4AE7D4
split-complementary
#864AE7 #E7D44A #5DE74A
monochromatic
#4B15A1 #641DD7 #864AE7 #AA80EE #CEB6F5

Accessibility & contrast

On white

5.06
#864AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#864AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864AE7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864AE7#FFFFFF#000000##FFFFFF
##864AE71.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#6C7093
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864ae7;
/* rgb */ color: rgb(134, 74, 231);
/* oklch */ color: oklch(56.5% 0.224 295.9);
Tailwind
colors: {
  custom: {
    50: '#b081f0',
    500: '#864ae7',
    950: '#000000',
  },
}
SCSS
$custom: #864ae7;
$custom-light: #b081f0;
$custom-dark: #000000;
JSON
{
  "hex": "#864ae7",
  "rgb": {
    "r": 134,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 262.93,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.22368,
    "h": 295.9
  },
  "luminance": 0.15735
}

Semantic roles & 50–950 ramp

primary
#864AE7
secondary
#CEE5A8
accent
#F335AA
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #864AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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