#864BC8#864BC8

#864BC8 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.4% C 0.188 H 302.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#864BC8
RGBrgb(134, 75, 200)
HSLhsl(268, 53%, 54%)
HSVhsv(268, 63%, 78%)
CMYKcmyk(33%, 62.5%, 0%, 21.6%)
CIE-LABlab(44.62, 49.25, -55.90)
CIE-LCHlch(44.62, 74.50, 311.38°)
OKLaboklab(54.38% 0.1001 -0.1586)
OKLCHoklch(54.38% 0.188 302.3)
XYZxyz(22.7705, 14.2706, 56.1873)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BC8 #8DC84B
analogous
#4B4FC8 #864BC8 #C54BC8
triadic
#864BC8 #C8864B #4BC886
tetradic
#864BC8 #C84B4F #8DC84B #4BC8C5
square
#864BC8 #C84B4F #8DC84B #4BC8C5
split-complementary
#864BC8 #C8C54B #4FC84B
monochromatic
#4A2475 #6832A4 #864BC8 #A67AD6 #C5A9E5

Accessibility & contrast

On white

5.45
#864BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#864BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BC8
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BC8#FFFFFF#000000##FFFFFF
##864BC81.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#796683
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864bc8;
/* rgb */ color: rgb(134, 75, 200);
/* oklch */ color: oklch(54.4% 0.188 302.3);
Tailwind
colors: {
  custom: {
    50: '#ae80d9',
    500: '#864bc8',
    950: '#000000',
  },
}
SCSS
$custom: #864bc8;
$custom-light: #ae80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#864bc8",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 268.32,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54382,
    "c": 0.18757,
    "h": 302.3
  },
  "luminance": 0.14271
}

Semantic roles & 50–950 ramp

primary
#864BC8
secondary
#B9D29D
accent
#DD4B98
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #864BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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