#864ECA#864ECA

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

Color values

HEX#864ECA
RGBrgb(134, 78, 202)
HSLhsl(267, 54%, 55%)
HSVhsv(267, 61%, 79%)
CMYKcmyk(33.7%, 61.4%, 0%, 20.8%)
CIE-LABlab(45.33, 48.17, -55.91)
CIE-LCHlch(45.33, 73.80, 310.75°)
OKLaboklab(54.94% 0.0965 -0.1586)
OKLCHoklch(54.94% 0.186 301.3)
XYZxyz(23.2140, 14.7813, 57.4957)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ECA #92CA4E
analogous
#4E54CA #864ECA #C44ECA
triadic
#864ECA #CA864E #4ECA86
tetradic
#864ECA #CA4E54 #92CA4E #4ECAC4
square
#864ECA #CA4E54 #92CA4E #4ECAC4
split-complementary
#864ECA #CAC44E #54CA4E
monochromatic
#4B2479 #6832A8 #864ECA #A67DD8 #C6ACE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##864ECA#FFFFFF#000000##FFFFFF
##864ECA1.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)
#006BCE
Deuteranopia (green-blind)
#256BC7
Tritanopia (blue-blind)
#786885
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864eca;
/* rgb */ color: rgb(134, 78, 202);
/* oklch */ color: oklch(54.9% 0.186 301.3);
Tailwind
colors: {
  custom: {
    50: '#ae82db',
    500: '#864eca',
    950: '#000000',
  },
}
SCSS
$custom: #864eca;
$custom-light: #ae82db;
$custom-dark: #000000;
JSON
{
  "hex": "#864eca",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 267.097,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54943,
    "c": 0.18567,
    "h": 301.3
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#864ECA
secondary
#BCD4A0
accent
#DD4B9B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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