#864DDE#864DDE

#864DDE is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.210 H 297.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#864DDE
RGBrgb(134, 77, 222)
HSLhsl(264, 69%, 59%)
HSVhsv(264, 65%, 87%)
CMYKcmyk(39.6%, 65.3%, 0%, 12.9%)
CIE-LABlab(46.51, 53.74, -65.46)
CIE-LCHlch(46.51, 84.69, 309.38°)
OKLaboklab(56.23% 0.096 -0.1867)
OKLCHoklch(56.23% 0.21 297.2)
XYZxyz(25.6668, 15.6496, 70.7615)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DDE #A5DE4D
analogous
#4D5CDE #864DDE #CE4DDE
triadic
#864DDE #DE864D #4DDE86
tetradic
#864DDE #DE4D5C #A5DE4D #4DDECE
square
#864DDE #DE4D5C #A5DE4D #4DDECE
split-complementary
#864DDE #DECE4D #5CDE4D
monochromatic
#4B1C95 #6525C9 #864DDE #A981E8 #CCB4F1

Accessibility & contrast

On white

5.08
#864DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#864DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DDE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DDE#FFFFFF#000000##FFFFFF
##864DDE1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#706F8F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864dde;
/* rgb */ color: rgb(134, 77, 222);
/* oklch */ color: oklch(56.2% 0.210 297.2);
Tailwind
colors: {
  custom: {
    50: '#af82e9',
    500: '#864dde',
    950: '#000000',
  },
}
SCSS
$custom: #864dde;
$custom-light: #af82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#864dde",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 263.586,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.20993,
    "h": 297.2
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#864DDE
secondary
#CAE0A7
accent
#EC3CA7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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