#864BCA#864BCA

#864BCA is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.190 H 301.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#864BCA
RGBrgb(134, 75, 202)
HSLhsl(268, 55%, 54%)
HSVhsv(268, 63%, 79%)
CMYKcmyk(33.7%, 62.9%, 0%, 20.8%)
CIE-LABlab(44.75, 49.74, -56.85)
CIE-LCHlch(44.75, 75.54, 311.19°)
OKLaboklab(54.52% 0.1 -0.1614)
OKLCHoklch(54.52% 0.19 301.8)
XYZxyz(23.0057, 14.3647, 57.4263)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BCA #8FCA4B
analogous
#4B50CA #864BCA #C54BCA
triadic
#864BCA #CA864B #4BCA86
tetradic
#864BCA #CA4B50 #8FCA4B #4BCAC5
square
#864BCA #CA4B50 #8FCA4B #4BCAC5
split-complementary
#864BCA #CAC54B #50CA4B
monochromatic
#4A2377 #6831A7 #864BCA #A67AD8 #C6AAE6

Accessibility & contrast

On white

5.42
#864BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#864BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BCA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BCA#FFFFFF#000000##FFFFFF
##864BCA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#1F69C7
Tritanopia (blue-blind)
#786684
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864bca;
/* rgb */ color: rgb(134, 75, 202);
/* oklch */ color: oklch(54.5% 0.190 301.8);
Tailwind
colors: {
  custom: {
    50: '#ae80db',
    500: '#864bca',
    950: '#000000',
  },
}
SCSS
$custom: #864bca;
$custom-light: #ae80db;
$custom-dark: #000000;
JSON
{
  "hex": "#864bca",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 267.874,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54521,
    "c": 0.18984,
    "h": 301.8
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#864BCA
secondary
#BAD39D
accent
#DE4A99
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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