#864EE6#864EE6

#864EE6 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.218 H 295.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#864EE6
RGBrgb(134, 78, 230)
HSLhsl(262, 75%, 60%)
HSVhsv(262, 66%, 90%)
CMYKcmyk(41.7%, 66.1%, 0%, 9.8%)
CIE-LABlab(47.27, 55.28, -68.76)
CIE-LCHlch(47.27, 88.22, 308.80°)
OKLaboklab(56.96% 0.094 -0.1964)
OKLCHoklch(56.96% 0.218 295.6)
XYZxyz(26.8350, 16.2297, 76.5664)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864EE6 #AEE64E
analogous
#4E62E6 #864EE6 #D24EE6
triadic
#864EE6 #E6864E #4EE686
tetradic
#864EE6 #E64E62 #AEE64E #4EE6D2
square
#864EE6 #E64E62 #AEE64E #4EE6D2
split-complementary
#864EE6 #E6D24E #62E64E
monochromatic
#4A17A3 #631FD8 #864EE6 #AB84EE #CFB9F5

Accessibility & contrast

On white

4.95
#864EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#864EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864EE6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864EE6#FFFFFF#000000##FFFFFF
##864EE61.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#6D7294
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #864ee6;
/* rgb */ color: rgb(134, 78, 230);
/* oklch */ color: oklch(57.0% 0.218 295.6);
Tailwind
colors: {
  custom: {
    50: '#b083ef',
    500: '#864ee6',
    950: '#000000',
  },
}
SCSS
$custom: #864ee6;
$custom-light: #b083ef;
$custom-dark: #000000;
JSON
{
  "hex": "#864ee6",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 262.105,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56959,
    "c": 0.21773,
    "h": 295.6
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#864EE6
secondary
#D0E5AB
accent
#D70E8D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #864EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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