#864EC0#864EC0

#864EC0 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.3% C 0.174 H 303.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#864EC0
RGBrgb(134, 78, 192)
HSLhsl(269, 48%, 53%)
HSVhsv(269, 59%, 75%)
CMYKcmyk(30.2%, 59.4%, 0%, 24.7%)
CIE-LABlab(44.69, 45.71, -51.15)
CIE-LCHlch(44.69, 68.59, 311.79°)
OKLaboklab(54.27% 0.0968 -0.1446)
OKLCHoklch(54.27% 0.174 303.8)
XYZxyz(22.0682, 14.3229, 51.4610)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864EC0 #88C04E
analogous
#4E4FC0 #864EC0 #BF4EC0
triadic
#864EC0 #C0864E #4EC086
tetradic
#864EC0 #C04E4F #88C04E #4EC0BF
square
#864EC0 #C04E4F #88C04E #4EC0BF
split-complementary
#864EC0 #C0BF4E #4FC04E
monochromatic
#49276D #68379A #864EC0 #A57BD0 #C4A8E0

Accessibility & contrast

On white

5.43
#864EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#864EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864EC0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864EC0#FFFFFF#000000##FFFFFF
##864EC01.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C4
Deuteranopia (green-blind)
#336ABD
Tritanopia (blue-blind)
#7B657F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864ec0;
/* rgb */ color: rgb(134, 78, 192);
/* oklch */ color: oklch(54.3% 0.174 303.8);
Tailwind
colors: {
  custom: {
    50: '#ad82d4',
    500: '#864ec0',
    950: '#000000',
  },
}
SCSS
$custom: #864ec0;
$custom-light: #ad82d4;
$custom-dark: #000000;
JSON
{
  "hex": "#864ec0",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 269.474,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54272,
    "c": 0.17404,
    "h": 303.8
  },
  "luminance": 0.14323
}

Semantic roles & 50–950 ramp

primary
#864EC0
secondary
#B5CE9C
accent
#D75195
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #864EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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