#864FD3#864FD3

#864FD3 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.195 H 299.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#864FD3
RGBrgb(134, 79, 211)
HSLhsl(265, 60%, 57%)
HSVhsv(265, 63%, 83%)
CMYKcmyk(36.5%, 62.6%, 0%, 17.3%)
CIE-LABlab(46.13, 49.91, -59.80)
CIE-LCHlch(46.13, 77.89, 309.85°)
OKLaboklab(55.71% 0.0948 -0.1701)
OKLCHoklch(55.71% 0.195 299.1)
XYZxyz(24.3825, 15.3632, 63.2962)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FD3 #9CD34F
analogous
#4F5AD3 #864FD3 #C84FD3
triadic
#864FD3 #D3864F #4FD386
tetradic
#864FD3 #D34F5A #9CD34F #4FD3C8
square
#864FD3 #D34F5A #9CD34F #4FD3C8
split-complementary
#864FD3 #D3C84F #5AD34F
monochromatic
#4B2286 #672EB7 #864FD3 #A880DF #C9B1EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##864FD3#FFFFFF#000000##FFFFFF
##864FD31.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)
#006DD7
Deuteranopia (green-blind)
#136CD0
Tritanopia (blue-blind)
#756C8A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #864fd3;
/* rgb */ color: rgb(134, 79, 211);
/* oklch */ color: oklch(55.7% 0.195 299.1);
Tailwind
colors: {
  custom: {
    50: '#ae83e1',
    500: '#864fd3',
    950: '#000000',
  },
}
SCSS
$custom: #864fd3;
$custom-light: #ae83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#864fd3",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 265,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5571,
    "c": 0.19471,
    "h": 299.1
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#864FD3
secondary
#C3DAA4
accent
#E345A1
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #864FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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