#864CDB#864CDB

#864CDB is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.208 H 297.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#864CDB
RGBrgb(134, 76, 219)
HSLhsl(264, 67%, 58%)
HSVhsv(264, 65%, 86%)
CMYKcmyk(38.8%, 65.3%, 0%, 14.1%)
CIE-LABlab(46.11, 53.48, -64.40)
CIE-LCHlch(46.11, 83.71, 309.71°)
OKLaboklab(55.87% 0.0974 -0.1836)
OKLCHoklch(55.87% 0.208 297.9)
XYZxyz(25.1989, 15.3513, 68.6396)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CDB #A1DB4C
analogous
#4C59DB #864CDB #CE4CDB
triadic
#864CDB #DB864C #4CDB86
tetradic
#864CDB #DB4C59 #A1DB4C #4CDBCE
square
#864CDB #DB4C59 #A1DB4C #4CDBCE
split-complementary
#864CDB #DBCE4C #59DB4C
monochromatic
#4B1D90 #6627C3 #864CDB #A87FE5 #CBB2EF

Accessibility & contrast

On white

5.16
#864CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#864CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864CDB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864CDB#FFFFFF#000000##FFFFFF
##864CDB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#726D8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864cdb;
/* rgb */ color: rgb(134, 76, 219);
/* oklch */ color: oklch(55.9% 0.208 297.9);
Tailwind
colors: {
  custom: {
    50: '#af81e7',
    500: '#864cdb',
    950: '#000000',
  },
}
SCSS
$custom: #864cdb;
$custom-light: #af81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#864cdb",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 264.336,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.20781,
    "h": 297.9
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#864CDB
secondary
#C7DEA5
accent
#E93EA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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