#864FD5#864FD5

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

Color values

HEX#864FD5
RGBrgb(134, 79, 213)
HSLhsl(265, 61%, 57%)
HSVhsv(265, 63%, 84%)
CMYKcmyk(37.1%, 62.9%, 0%, 16.5%)
CIE-LABlab(46.26, 50.41, -60.73)
CIE-LCHlch(46.26, 78.93, 309.70°)
OKLaboklab(55.85% 0.0947 -0.1728)
OKLCHoklch(55.85% 0.197 298.7)
XYZxyz(24.6347, 15.4641, 64.6249)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FD5 #9ED54F
analogous
#4F5BD5 #864FD5 #C94FD5
triadic
#864FD5 #D5864F #4FD586
tetradic
#864FD5 #D54F5B #9ED54F #4FD5C9
square
#864FD5 #D54F5B #9ED54F #4FD5C9
split-complementary
#864FD5 #D5C94F #5BD54F
monochromatic
#4B2189 #672CBA #864FD5 #A880E1 #CAB2ED

Accessibility & contrast

On white

5.13
#864FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#864FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FD5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FD5#FFFFFF#000000##FFFFFF
##864FD51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#0A6CD2
Tritanopia (blue-blind)
#746D8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864fd5;
/* rgb */ color: rgb(134, 79, 213);
/* oklch */ color: oklch(55.9% 0.197 298.7);
Tailwind
colors: {
  custom: {
    50: '#ae83e3',
    500: '#864fd5',
    950: '#000000',
  },
}
SCSS
$custom: #864fd5;
$custom-light: #ae83e3;
$custom-dark: #000000;
JSON
{
  "hex": "#864fd5",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 264.627,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55852,
    "c": 0.19702,
    "h": 298.7
  },
  "luminance": 0.15464
}

Semantic roles & 50–950 ramp

primary
#864FD5
secondary
#C5DBA5
accent
#E543A2
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B15
muted
#807C84

Preview Lab

Preview with #864FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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