#864ED7#864ED7

#864ED7 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.201 H 298.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#864ED7
RGBrgb(134, 78, 215)
HSLhsl(265, 63%, 57%)
HSVhsv(265, 64%, 84%)
CMYKcmyk(37.7%, 63.7%, 0%, 15.7%)
CIE-LABlab(46.21, 51.44, -61.96)
CIE-LCHlch(46.21, 80.53, 309.70°)
OKLaboklab(55.86% 0.0956 -0.1764)
OKLCHoklch(55.86% 0.201 298.5)
XYZxyz(24.8186, 15.4231, 65.9462)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ED7 #9FD74E
analogous
#4E5AD7 #864ED7 #CB4ED7
triadic
#864ED7 #D7864E #4ED786
tetradic
#864ED7 #D74E5A #9FD74E #4ED7CB
square
#864ED7 #D74E5A #9FD74E #4ED7CB
split-complementary
#864ED7 #D7CB4E #5AD74E
monochromatic
#4B1F8B #672BBD #864ED7 #A880E2 #CAB2EE

Accessibility & contrast

On white

5.14
#864ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#864ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864ED7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864ED7#FFFFFF#000000##FFFFFF
##864ED71.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #864ed7;
/* rgb */ color: rgb(134, 78, 215);
/* oklch */ color: oklch(55.9% 0.201 298.5);
Tailwind
colors: {
  custom: {
    50: '#af83e4',
    500: '#864ed7',
    950: '#000000',
  },
}
SCSS
$custom: #864ed7;
$custom-light: #af83e4;
$custom-dark: #000000;
JSON
{
  "hex": "#864ed7",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 264.526,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55855,
    "c": 0.20066,
    "h": 298.5
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#864ED7
secondary
#C5DCA5
accent
#E642A3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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