#864BD5#864BD5

#864BD5 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.202 H 299.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#864BD5
RGBrgb(134, 75, 213)
HSLhsl(266, 62%, 56%)
HSVhsv(266, 65%, 84%)
CMYKcmyk(37.1%, 64.8%, 0%, 16.5%)
CIE-LABlab(45.50, 52.48, -61.96)
CIE-LCHlch(45.50, 81.20, 310.27°)
OKLaboklab(55.3% 0.0991 -0.1764)
OKLCHoklch(55.3% 0.202 299.3)
XYZxyz(24.3549, 14.9043, 64.5316)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BD5 #9AD54B
analogous
#4B55D5 #864BD5 #CB4BD5
triadic
#864BD5 #D5864B #4BD586
tetradic
#864BD5 #D54B55 #9AD54B #4BD5CB
square
#864BD5 #D54B55 #9AD54B #4BD5CB
split-complementary
#864BD5 #D5CB4B #55D54B
monochromatic
#4B1F86 #672BB8 #864BD5 #A77DE1 #C9AEEC

Accessibility & contrast

On white

5.28
#864BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#864BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BD5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BD5#FFFFFF#000000##FFFFFF
##864BD51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#746A89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #864bd5;
/* rgb */ color: rgb(134, 75, 213);
/* oklch */ color: oklch(55.3% 0.202 299.3);
Tailwind
colors: {
  custom: {
    50: '#af81e3',
    500: '#864bd5',
    950: '#000000',
  },
}
SCSS
$custom: #864bd5;
$custom-light: #af81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#864bd5",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 265.652,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.20233,
    "h": 299.3
  },
  "luminance": 0.14905
}

Semantic roles & 50–950 ramp

primary
#864BD5
secondary
#C2DAA2
accent
#E543A0
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A15
muted
#807C84

Preview Lab

Preview with #864BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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