#864FDB#864FDB

#864FDB is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.204 H 297.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#864FDB
RGBrgb(134, 79, 219)
HSLhsl(264, 66%, 58%)
HSVhsv(264, 64%, 86%)
CMYKcmyk(38.8%, 63.9%, 0%, 14.1%)
CIE-LABlab(46.68, 51.94, -63.48)
CIE-LCHlch(46.68, 82.03, 309.29°)
OKLaboklab(56.28% 0.0942 -0.1809)
OKLCHoklch(56.28% 0.204 297.5)
XYZxyz(25.4104, 15.7744, 68.7101)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FDB #A4DB4F
analogous
#4F5EDB #864FDB #CC4FDB
triadic
#864FDB #DB864F #4FDB86
tetradic
#864FDB #DB4F5E #A4DB4F #4FDBCC
square
#864FDB #DB4F5E #A4DB4F #4FDBCC
split-complementary
#864FDB #DBCC4F #5EDB4F
monochromatic
#4B1E92 #6628C5 #864FDB #A982E5 #CCB5F0

Accessibility & contrast

On white

5.05
#864FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#864FDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FDB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FDB#FFFFFF#000000##FFFFFF
##864FDB1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#006DD8
Tritanopia (blue-blind)
#716F8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #864fdb;
/* rgb */ color: rgb(134, 79, 219);
/* oklch */ color: oklch(56.3% 0.204 297.5);
Tailwind
colors: {
  custom: {
    50: '#af83e7',
    500: '#864fdb',
    950: '#000000',
  },
}
SCSS
$custom: #864fdb;
$custom-light: #af83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#864fdb",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 263.571,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.56282,
    "c": 0.20394,
    "h": 297.5
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

primary
#864FDB
secondary
#C9DFA7
accent
#E93FA6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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