#864CD2#864CD2

#864CD2 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.198 H 299.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#864CD2
RGBrgb(134, 76, 210)
HSLhsl(266, 60%, 56%)
HSVhsv(266, 64%, 82%)
CMYKcmyk(36.2%, 63.8%, 0%, 17.6%)
CIE-LABlab(45.48, 51.22, -60.27)
CIE-LCHlch(45.48, 79.09, 310.36°)
OKLaboklab(55.22% 0.0983 -0.1714)
OKLCHoklch(55.22% 0.198 299.8)
XYZxyz(24.0460, 14.8901, 62.5675)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CD2 #98D24C
analogous
#4C55D2 #864CD2 #C94CD2
triadic
#864CD2 #D2864C #4CD286
tetradic
#864CD2 #D24C55 #98D24C #4CD2C9
square
#864CD2 #D24C55 #98D24C #4CD2C9
split-complementary
#864CD2 #D2C94C #55D24C
monochromatic
#4B2183 #672DB4 #864CD2 #A77DDE #C8AEEB

Accessibility & contrast

On white

5.28
#864CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#864CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CD2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CD2#FFFFFF#000000##FFFFFF
##864CD21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#096BCF
Tritanopia (blue-blind)
#756A88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864cd2;
/* rgb */ color: rgb(134, 76, 210);
/* oklch */ color: oklch(55.2% 0.198 299.8);
Tailwind
colors: {
  custom: {
    50: '#ae81e1',
    500: '#864cd2',
    950: '#000000',
  },
}
SCSS
$custom: #864cd2;
$custom-light: #ae81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#864cd2",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 265.97,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.1976,
    "h": 299.8
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#864CD2
secondary
#C1D9A1
accent
#E3459F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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