#864FE7#864FE7

#864FE7 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.218 H 295.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#864FE7
RGBrgb(134, 79, 231)
HSLhsl(262, 76%, 61%)
HSVhsv(262, 66%, 91%)
CMYKcmyk(42%, 65.8%, 0%, 9.4%)
CIE-LABlab(47.53, 55.03, -68.90)
CIE-LCHlch(47.53, 88.18, 308.61°)
OKLaboklab(57.17% 0.0928 -0.1968)
OKLCHoklch(57.17% 0.218 295.3)
XYZxyz(27.0475, 16.4292, 77.3319)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FE7 #B0E74F
analogous
#4F64E7 #864FE7 #D24FE7
triadic
#864FE7 #E7864F #4FE786
tetradic
#864FE7 #E74F64 #B0E74F #4FE7D2
square
#864FE7 #E74F64 #B0E74F #4FE7D2
split-complementary
#864FE7 #E7D24F #64E74F
monochromatic
#4A17A5 #621EDB #864FE7 #AB85EE #D0BBF6

Accessibility & contrast

On white

4.90
#864FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#864FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FE7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FE7#FFFFFF#000000##FFFFFF
##864FE71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#6C7394
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #864fe7;
/* rgb */ color: rgb(134, 79, 231);
/* oklch */ color: oklch(57.2% 0.218 295.3);
Tailwind
colors: {
  custom: {
    50: '#b084f0',
    500: '#864fe7',
    950: '#000000',
  },
}
SCSS
$custom: #864fe7;
$custom-light: #b084f0;
$custom-dark: #000000;
JSON
{
  "hex": "#864fe7",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 261.711,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57168,
    "c": 0.21763,
    "h": 295.3
  },
  "luminance": 0.1643
}

Semantic roles & 50–950 ramp

primary
#864FE7
secondary
#D1E6AC
accent
#D80D8F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #864FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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