#864FDF#864FDF

#864FDF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.209 H 296.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#864FDF
RGBrgb(134, 79, 223)
HSLhsl(263, 69%, 59%)
HSVhsv(263, 65%, 87%)
CMYKcmyk(39.9%, 64.6%, 0%, 12.5%)
CIE-LABlab(46.96, 52.97, -65.30)
CIE-LCHlch(46.96, 84.08, 309.05°)
OKLaboklab(56.57% 0.0938 -0.1862)
OKLCHoklch(56.57% 0.209 296.7)
XYZxyz(25.9433, 15.9875, 71.5168)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FDF #A8DF4F
analogous
#4F60DF #864FDF #CE4FDF
triadic
#864FDF #DF864F #4FDF86
tetradic
#864FDF #DF4F60 #A8DF4F #4FDFCE
square
#864FDF #DF4F60 #A8DF4F #4FDFCE
split-complementary
#864FDF #DFCE4F #60DF4F
monochromatic
#4B1C98 #6525CC #864FDF #AA83E8 #CDB7F2

Accessibility & contrast

On white

5.00
#864FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#864FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FDF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FDF#FFFFFF#000000##FFFFFF
##864FDF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#707090
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #864fdf;
/* rgb */ color: rgb(134, 79, 223);
/* oklch */ color: oklch(56.6% 0.209 296.7);
Tailwind
colors: {
  custom: {
    50: '#af83ea',
    500: '#864fdf',
    950: '#000000',
  },
}
SCSS
$custom: #864fdf;
$custom-light: #af83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#864fdf",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 262.917,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.20852,
    "h": 296.7
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#864FDF
secondary
#CCE1A9
accent
#EC3CA9
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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