#864ED0#864ED0

#864ED0 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.193 H 299.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#864ED0
RGBrgb(134, 78, 208)
HSLhsl(266, 58%, 56%)
HSVhsv(266, 63%, 82%)
CMYKcmyk(35.6%, 62.5%, 0%, 18.4%)
CIE-LABlab(45.73, 49.68, -58.72)
CIE-LCHlch(45.73, 76.91, 310.23°)
OKLaboklab(55.36% 0.0962 -0.1669)
OKLCHoklch(55.36% 0.193 299.9)
XYZxyz(23.9383, 15.0710, 61.3101)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864ED0 #98D04E
analogous
#4E57D0 #864ED0 #C74ED0
triadic
#864ED0 #D0864E #4ED086
tetradic
#864ED0 #D04E57 #98D04E #4ED0C7
square
#864ED0 #D04E57 #98D04E #4ED0C7
split-complementary
#864ED0 #D0C74E #57D04E
monochromatic
#4B2281 #672FB2 #864ED0 #A77EDD #C8AFEA

Accessibility & contrast

On white

5.23
#864ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#864ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864ED0
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864ED0#FFFFFF#000000##FFFFFF
##864ED01.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#186BCD
Tritanopia (blue-blind)
#766A88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864ed0;
/* rgb */ color: rgb(134, 78, 208);
/* oklch */ color: oklch(55.4% 0.193 299.9);
Tailwind
colors: {
  custom: {
    50: '#ae82df',
    500: '#864ed0',
    950: '#000000',
  },
}
SCSS
$custom: #864ed0;
$custom-light: #ae82df;
$custom-dark: #000000;
JSON
{
  "hex": "#864ed0",
  "rgb": {
    "r": 134,
    "g": 78,
    "b": 208
  },
  "hsl": {
    "h": 265.846,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55359,
    "c": 0.19261,
    "h": 299.9
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#864ED0
secondary
#C1D8A2
accent
#E1479F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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