#864CDE#864CDE

#864CDE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.211 H 297.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#864CDE
RGBrgb(134, 76, 222)
HSLhsl(264, 69%, 58%)
HSVhsv(264, 66%, 87%)
CMYKcmyk(39.6%, 65.8%, 0%, 12.9%)
CIE-LABlab(46.33, 54.24, -65.76)
CIE-LCHlch(46.33, 85.25, 309.52°)
OKLaboklab(56.1% 0.097 -0.1876)
OKLCHoklch(56.1% 0.211 297.4)
XYZxyz(25.5974, 15.5107, 70.7383)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CDE #A4DE4C
analogous
#4C5BDE #864CDE #CF4CDE
triadic
#864CDE #DE864C #4CDE86
tetradic
#864CDE #DE4C5B #A4DE4C #4CDECF
square
#864CDE #DE4C5B #A4DE4C #4CDECF
split-complementary
#864CDE #DECF4C #5BDE4C
monochromatic
#4B1B94 #6625C8 #864CDE #A980E8 #CCB3F1

Accessibility & contrast

On white

5.12
#864CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#864CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CDE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CDE#FFFFFF#000000##FFFFFF
##864CDE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #864cde;
/* rgb */ color: rgb(134, 76, 222);
/* oklch */ color: oklch(56.1% 0.211 297.4);
Tailwind
colors: {
  custom: {
    50: '#af82e9',
    500: '#864cde',
    950: '#000000',
  },
}
SCSS
$custom: #864cde;
$custom-light: #af82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#864cde",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 263.836,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56096,
    "c": 0.2112,
    "h": 297.4
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#864CDE
secondary
#C9E0A6
accent
#EC3CA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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