#864BCF#864BCF

#864BCF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.196 H 300.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#864BCF
RGBrgb(134, 75, 207)
HSLhsl(267, 58%, 55%)
HSVhsv(267, 64%, 81%)
CMYKcmyk(35.3%, 63.8%, 0%, 18.8%)
CIE-LABlab(45.09, 50.98, -59.18)
CIE-LCHlch(45.09, 78.11, 310.74°)
OKLaboklab(54.87% 0.0996 -0.1682)
OKLCHoklch(54.87% 0.196 300.6)
XYZxyz(23.6074, 14.6053, 60.5948)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BCF #94CF4B
analogous
#4B52CF #864BCF #C84BCF
triadic
#864BCF #CF864B #4BCF86
tetradic
#864BCF #CF4B52 #94CF4B #4BCFC8
square
#864BCF #CF4B52 #94CF4B #4BCFC8
split-complementary
#864BCF #CFC84B #52CF4B
monochromatic
#4B227E #682EAE #864BCF #A67BDC #C7ACE9

Accessibility & contrast

On white

5.36
#864BCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#864BCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BCF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BCF#FFFFFF#000000##FFFFFF
##864BCF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#126ACC
Tritanopia (blue-blind)
#766886
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #864bcf;
/* rgb */ color: rgb(134, 75, 207);
/* oklch */ color: oklch(54.9% 0.196 300.6);
Tailwind
colors: {
  custom: {
    50: '#ae81de',
    500: '#864bcf',
    950: '#000000',
  },
}
SCSS
$custom: #864bcf;
$custom-light: #ae81de;
$custom-dark: #000000;
JSON
{
  "hex": "#864bcf",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 266.818,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54872,
    "c": 0.19553,
    "h": 300.6
  },
  "luminance": 0.14605
}

Semantic roles & 50–950 ramp

primary
#864BCF
secondary
#BED69F
accent
#E1479C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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