#864FE6#864FE6

#864FE6 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.216 H 295.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#864FE6
RGBrgb(134, 79, 230)
HSLhsl(262, 75%, 61%)
HSVhsv(262, 66%, 90%)
CMYKcmyk(41.7%, 65.7%, 0%, 9.8%)
CIE-LABlab(47.46, 54.77, -68.46)
CIE-LCHlch(47.46, 87.67, 308.66°)
OKLaboklab(57.09% 0.093 -0.1955)
OKLCHoklch(57.09% 0.216 295.4)
XYZxyz(26.9066, 16.3729, 76.5902)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FE6 #AFE64F
analogous
#4F64E6 #864FE6 #D14FE6
triadic
#864FE6 #E6864F #4FE686
tetradic
#864FE6 #E64F64 #AFE64F #4FE6D1
square
#864FE6 #E64F64 #AFE64F #4FE6D1
split-complementary
#864FE6 #E6D14F #64E64F
monochromatic
#4A17A3 #631FD9 #864FE6 #AB85EE #D0BAF5

Accessibility & contrast

On white

4.91
#864FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#864FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FE6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FE6#FFFFFF#000000##FFFFFF
##864FE61.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#6D7394
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #864fe6;
/* rgb */ color: rgb(134, 79, 230);
/* oklch */ color: oklch(57.1% 0.216 295.4);
Tailwind
colors: {
  custom: {
    50: '#b084ef',
    500: '#864fe6',
    950: '#000000',
  },
}
SCSS
$custom: #864fe6;
$custom-light: #b084ef;
$custom-dark: #000000;
JSON
{
  "hex": "#864fe6",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 261.854,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57093,
    "c": 0.21649,
    "h": 295.4
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#864FE6
secondary
#D0E5AC
accent
#D70E8E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #864FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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