#864FC8#864FC8

#864FC8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.182 H 301.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#864FC8
RGBrgb(134, 79, 200)
HSLhsl(267, 52%, 55%)
HSVhsv(267, 61%, 78%)
CMYKcmyk(33%, 60.5%, 0%, 21.6%)
CIE-LABlab(45.40, 47.15, -54.64)
CIE-LCHlch(45.40, 72.17, 310.79°)
OKLaboklab(54.95% 0.0954 -0.1549)
OKLCHoklch(54.95% 0.182 301.6)
XYZxyz(23.0504, 14.8303, 56.2806)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FC8 #91C84F
analogous
#4F54C8 #864FC8 #C34FC8
triadic
#864FC8 #C8864F #4FC886
tetradic
#864FC8 #C84F54 #91C84F #4FC8C3
square
#864FC8 #C84F54 #91C84F #4FC8C3
split-complementary
#864FC8 #C8C34F #54C84F
monochromatic
#4B2577 #6834A6 #864FC8 #A67ED7 #C6ACE5

Accessibility & contrast

On white

5.30
#864FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#864FC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FC8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FC8#FFFFFF#000000##FFFFFF
##864FC81.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016BCC
Deuteranopia (green-blind)
#2A6BC5
Tritanopia (blue-blind)
#796884
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864fc8;
/* rgb */ color: rgb(134, 79, 200);
/* oklch */ color: oklch(55.0% 0.182 301.6);
Tailwind
colors: {
  custom: {
    50: '#ad83d9',
    500: '#864fc8',
    950: '#000000',
  },
}
SCSS
$custom: #864fc8;
$custom-light: #ad83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#864fc8",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 200
  },
  "hsl": {
    "h": 267.273,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54951,
    "c": 0.18192,
    "h": 301.6
  },
  "luminance": 0.1483
}

Semantic roles & 50–950 ramp

primary
#864FC8
secondary
#BCD3A0
accent
#DC4C9A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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