#864DD1#864DD1

#864DD1 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.3% C 0.195 H 299.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#864DD1
RGBrgb(134, 77, 209)
HSLhsl(266, 59%, 56%)
HSVhsv(266, 63%, 82%)
CMYKcmyk(35.9%, 63.2%, 0%, 18%)
CIE-LABlab(45.61, 50.45, -59.50)
CIE-LCHlch(45.61, 78.01, 310.30°)
OKLaboklab(55.29% 0.0972 -0.1692)
OKLCHoklch(55.29% 0.195 299.9)
XYZxyz(23.9912, 14.9793, 61.9366)
Luminance0.1498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DD1 #98D14D
analogous
#4D56D1 #864DD1 #C84DD1
triadic
#864DD1 #D1864D #4DD186
tetradic
#864DD1 #D14D56 #98D14D #4DD1C8
square
#864DD1 #D14D56 #98D14D #4DD1C8
split-complementary
#864DD1 #D1C84D #56D14D
monochromatic
#4B2282 #672EB3 #864DD1 #A77EDE #C8AEEA

Accessibility & contrast

On white

5.26
#864DD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#864DD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DD1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DD1#FFFFFF#000000##FFFFFF
##864DD11.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#126BCE
Tritanopia (blue-blind)
#766A88
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864dd1;
/* rgb */ color: rgb(134, 77, 209);
/* oklch */ color: oklch(55.3% 0.195 299.9);
Tailwind
colors: {
  custom: {
    50: '#ae82e0',
    500: '#864dd1',
    950: '#000000',
  },
}
SCSS
$custom: #864dd1;
$custom-light: #ae82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#864dd1",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 209
  },
  "hsl": {
    "h": 265.909,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55289,
    "c": 0.19512,
    "h": 299.9
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #864DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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