#864BCE#864BCE

#864BCE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.194 H 300.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#864BCE
RGBrgb(134, 75, 206)
HSLhsl(267, 57%, 55%)
HSVhsv(267, 64%, 81%)
CMYKcmyk(35%, 63.6%, 0%, 19.2%)
CIE-LABlab(45.02, 50.73, -58.72)
CIE-LCHlch(45.02, 77.60, 310.83°)
OKLaboklab(54.8% 0.0997 -0.1669)
OKLCHoklch(54.8% 0.194 300.9)
XYZxyz(23.4855, 14.5566, 59.9529)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BCE #93CE4B
analogous
#4B51CE #864BCE #C74BCE
triadic
#864BCE #CE864B #4BCE86
tetradic
#864BCE #CE4B51 #93CE4B #4BCEC7
square
#864BCE #CE4B51 #93CE4B #4BCEC7
split-complementary
#864BCE #CEC74B #51CE4B
monochromatic
#4B227D #682FAD #864BCE #A67BDB #C7ABE8

Accessibility & contrast

On white

5.37
#864BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#864BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BCE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BCE#FFFFFF#000000##FFFFFF
##864BCE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#156ACB
Tritanopia (blue-blind)
#776886
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864bce;
/* rgb */ color: rgb(134, 75, 206);
/* oklch */ color: oklch(54.8% 0.194 300.9);
Tailwind
colors: {
  custom: {
    50: '#ae81de',
    500: '#864bce',
    950: '#000000',
  },
}
SCSS
$custom: #864bce;
$custom-light: #ae81de;
$custom-dark: #000000;
JSON
{
  "hex": "#864bce",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 267.023,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.19439,
    "h": 300.9
  },
  "luminance": 0.14557
}

Semantic roles & 50–950 ramp

primary
#864BCE
secondary
#BDD69F
accent
#E0479B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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