#864CD3#864CD3

#864CD3 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.3% C 0.199 H 299.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#864CD3
RGBrgb(134, 76, 211)
HSLhsl(266, 61%, 56%)
HSVhsv(266, 64%, 83%)
CMYKcmyk(36.5%, 64%, 0%, 17.3%)
CIE-LABlab(45.55, 51.47, -60.73)
CIE-LCHlch(45.55, 79.61, 310.28°)
OKLaboklab(55.29% 0.0982 -0.1728)
OKLCHoklch(55.29% 0.199 299.6)
XYZxyz(24.1709, 14.9401, 63.2257)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CD3 #99D34C
analogous
#4C56D3 #864CD3 #CA4CD3
triadic
#864CD3 #D3864C #4CD386
tetradic
#864CD3 #D34C56 #99D34C #4CD3CA
square
#864CD3 #D34C56 #99D34C #4CD3CA
split-complementary
#864CD3 #D3CA4C #56D34C
monochromatic
#4B2084 #672DB5 #864CD3 #A77DDF #C8AEEB

Accessibility & contrast

On white

5.27
#864CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#864CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CD3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CD3#FFFFFF#000000##FFFFFF
##864CD31.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#046BD0
Tritanopia (blue-blind)
#756A89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864cd3;
/* rgb */ color: rgb(134, 76, 211);
/* oklch */ color: oklch(55.3% 0.199 299.6);
Tailwind
colors: {
  custom: {
    50: '#ae81e1',
    500: '#864cd3',
    950: '#000000',
  },
}
SCSS
$custom: #864cd3;
$custom-light: #ae81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#864cd3",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 265.778,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.19874,
    "h": 299.6
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

primary
#864CD3
secondary
#C1D9A2
accent
#E4449F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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