#864BDF#864BDF

#864BDF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.0% C 0.214 H 297.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#864BDF
RGBrgb(134, 75, 223)
HSLhsl(264, 70%, 58%)
HSVhsv(264, 66%, 87%)
CMYKcmyk(39.9%, 66.4%, 0%, 12.5%)
CIE-LABlab(46.21, 55.00, -66.51)
CIE-LCHlch(46.21, 86.31, 309.59°)
OKLaboklab(56.04% 0.0979 -0.1898)
OKLCHoklch(56.04% 0.214 297.3)
XYZxyz(25.6634, 15.4278, 71.4235)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BDF #A4DF4B
analogous
#4B5ADF #864BDF #D04BDF
triadic
#864BDF #DF864B #4BDF86
tetradic
#864BDF #DF4B5A #A4DF4B #4BDFD0
square
#864BDF #DF4B5A #A4DF4B #4BDFD0
split-complementary
#864BDF #DFD04B #5ADF4B
monochromatic
#4B1B95 #6624C9 #864BDF #A97FE8 #CCB3F1

Accessibility & contrast

On white

5.14
#864BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#864BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BDF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BDF#FFFFFF#000000##FFFFFF
##864BDF1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#706E8F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864bdf;
/* rgb */ color: rgb(134, 75, 223);
/* oklch */ color: oklch(56.0% 0.214 297.3);
Tailwind
colors: {
  custom: {
    50: '#b081ea',
    500: '#864bdf',
    950: '#000000',
  },
}
SCSS
$custom: #864bdf;
$custom-light: #b081ea;
$custom-dark: #000000;
JSON
{
  "hex": "#864bdf",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 263.919,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56039,
    "c": 0.21357,
    "h": 297.3
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#864BDF
secondary
#C9E0A6
accent
#ED3BA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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