#864BD7#864BD7

#864BD7 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.205 H 298.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#864BD7
RGBrgb(134, 75, 215)
HSLhsl(265, 64%, 57%)
HSVhsv(265, 65%, 84%)
CMYKcmyk(37.7%, 65.1%, 0%, 15.7%)
CIE-LABlab(45.64, 52.98, -62.87)
CIE-LCHlch(45.64, 82.22, 310.12°)
OKLaboklab(55.45% 0.0989 -0.1791)
OKLCHoklch(55.45% 0.205 298.9)
XYZxyz(24.6103, 15.0065, 65.8768)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BD7 #9CD74B
analogous
#4B56D7 #864BD7 #CC4BD7
triadic
#864BD7 #D7864B #4BD786
tetradic
#864BD7 #D74B56 #9CD74B #4BD7CC
square
#864BD7 #D74B56 #9CD74B #4BD7CC
split-complementary
#864BD7 #D7CC4B #56D74B
monochromatic
#4B1E89 #672ABB #864BD7 #A87DE2 #C9AFED

Accessibility & contrast

On white

5.25
#864BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#864BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BD7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BD7#FFFFFF#000000##FFFFFF
##864BD71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #864bd7;
/* rgb */ color: rgb(134, 75, 215);
/* oklch */ color: oklch(55.4% 0.205 298.9);
Tailwind
colors: {
  custom: {
    50: '#af81e4',
    500: '#864bd7',
    950: '#000000',
  },
}
SCSS
$custom: #864bd7;
$custom-light: #af81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#864bd7",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 265.286,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.20458,
    "h": 298.9
  },
  "luminance": 0.15007
}

Semantic roles & 50–950 ramp

primary
#864BD7
secondary
#C3DBA2
accent
#E741A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #864BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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