#864FE5#864FE5

#864FE5 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.215 H 295.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#864FE5
RGBrgb(134, 79, 229)
HSLhsl(262, 74%, 60%)
HSVhsv(262, 66%, 90%)
CMYKcmyk(41.5%, 65.5%, 0%, 10.2%)
CIE-LABlab(47.39, 54.51, -68.01)
CIE-LCHlch(47.39, 87.16, 308.71°)
OKLaboklab(57.02% 0.0931 -0.1942)
OKLCHoklch(57.02% 0.215 295.6)
XYZxyz(26.7666, 16.3168, 75.8528)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FE5 #AEE54F
analogous
#4F63E5 #864FE5 #D14FE5
triadic
#864FE5 #E5864F #4FE586
tetradic
#864FE5 #E54F63 #AEE54F #4FE5D1
square
#864FE5 #E54F63 #AEE54F #4FE5D1
split-complementary
#864FE5 #E5D14F #63E54F
monochromatic
#4A18A2 #6320D7 #864FE5 #AB84ED #CFBAF5

Accessibility & contrast

On white

4.93
#864FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#864FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FE5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FE5#FFFFFF#000000##FFFFFF
##864FE51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EA
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#6D7293
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #864fe5;
/* rgb */ color: rgb(134, 79, 229);
/* oklch */ color: oklch(57.0% 0.215 295.6);
Tailwind
colors: {
  custom: {
    50: '#b084ee',
    500: '#864fe5',
    950: '#000000',
  },
}
SCSS
$custom: #864fe5;
$custom-light: #b084ee;
$custom-dark: #000000;
JSON
{
  "hex": "#864fe5",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 262,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.21535,
    "h": 295.6
  },
  "luminance": 0.16317
}

Semantic roles & 50–950 ramp

primary
#864FE5
secondary
#D0E5AB
accent
#D60F8D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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