#864BD8#864BD8

#864BD8 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.206 H 298.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#864BD8
RGBrgb(134, 75, 216)
HSLhsl(265, 64%, 57%)
HSVhsv(265, 65%, 85%)
CMYKcmyk(38%, 65.3%, 0%, 15.3%)
CIE-LABlab(45.71, 53.23, -63.33)
CIE-LCHlch(45.71, 82.73, 310.05°)
OKLaboklab(55.52% 0.0988 -0.1804)
OKLCHoklch(55.52% 0.206 298.7)
XYZxyz(24.7391, 15.0580, 66.5555)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BD8 #9DD84B
analogous
#4B57D8 #864BD8 #CC4BD8
triadic
#864BD8 #D8864B #4BD886
tetradic
#864BD8 #D84B57 #9DD84B #4BD8CC
square
#864BD8 #D84B57 #9DD84B #4BD8CC
split-complementary
#864BD8 #D8CC4B #57D84B
monochromatic
#4B1E8B #6729BD #864BD8 #A87DE3 #CAB0EE

Accessibility & contrast

On white

5.23
#864BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#864BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BD8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BD8#FFFFFF#000000##FFFFFF
##864BD81.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#736B8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864bd8;
/* rgb */ color: rgb(134, 75, 216);
/* oklch */ color: oklch(55.5% 0.206 298.7);
Tailwind
colors: {
  custom: {
    50: '#af81e5',
    500: '#864bd8',
    950: '#000000',
  },
}
SCSS
$custom: #864bd8;
$custom-light: #af81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#864bd8",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 265.106,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.2057,
    "h": 298.7
  },
  "luminance": 0.15058
}

Semantic roles & 50–950 ramp

primary
#864BD8
secondary
#C4DCA3
accent
#E740A2
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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