#864FD6#864FD6

#864FD6 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.9% C 0.198 H 298.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#864FD6
RGBrgb(134, 79, 214)
HSLhsl(264, 62%, 57%)
HSVhsv(264, 63%, 84%)
CMYKcmyk(37.4%, 63.1%, 0%, 16.1%)
CIE-LABlab(46.33, 50.67, -61.19)
CIE-LCHlch(46.33, 79.44, 309.63°)
OKLaboklab(55.92% 0.0946 -0.1741)
OKLCHoklch(55.92% 0.198 298.5)
XYZxyz(24.7621, 15.5150, 65.2954)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FD6 #9FD64F
analogous
#4F5CD6 #864FD6 #C94FD6
triadic
#864FD6 #D6864F #4FD686
tetradic
#864FD6 #D64F5C #9FD64F #4FD6C9
square
#864FD6 #D64F5C #9FD64F #4FD6C9
split-complementary
#864FD6 #D6C94F #5CD64F
monochromatic
#4B208A #672CBC #864FD6 #A881E2 #CAB2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##864FD6#FFFFFF#000000##FFFFFF
##864FD61.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)
#006EDA
Deuteranopia (green-blind)
#056CD3
Tritanopia (blue-blind)
#746D8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864fd6;
/* rgb */ color: rgb(134, 79, 214);
/* oklch */ color: oklch(55.9% 0.198 298.5);
Tailwind
colors: {
  custom: {
    50: '#af83e3',
    500: '#864fd6',
    950: '#000000',
  },
}
SCSS
$custom: #864fd6;
$custom-light: #af83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#864fd6",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 264.444,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55923,
    "c": 0.19818,
    "h": 298.5
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#864FD6
secondary
#C5DCA5
accent
#E543A3
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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