#864FDA#864FDA

#864FDA is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.2% C 0.203 H 297.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#864FDA
RGBrgb(134, 79, 218)
HSLhsl(264, 65%, 58%)
HSVhsv(264, 64%, 85%)
CMYKcmyk(38.5%, 63.8%, 0%, 14.5%)
CIE-LABlab(46.61, 51.69, -63.03)
CIE-LCHlch(46.61, 81.51, 309.36°)
OKLaboklab(56.21% 0.0943 -0.1795)
OKLCHoklch(56.21% 0.203 297.7)
XYZxyz(25.2792, 15.7219, 68.0188)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FDA #A3DA4F
analogous
#4F5DDA #864FDA #CB4FDA
triadic
#864FDA #DA864F #4FDA86
tetradic
#864FDA #DA4F5D #A3DA4F #4FDACB
square
#864FDA #DA4F5D #A3DA4F #4FDACB
split-complementary
#864FDA #DACB4F #5DDA4F
monochromatic
#4B1E90 #6629C3 #864FDA #A982E5 #CCB4EF

Accessibility & contrast

On white

5.07
#864FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#864FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FDA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FDA#FFFFFF#000000##FFFFFF
##864FDA1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#726F8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864fda;
/* rgb */ color: rgb(134, 79, 218);
/* oklch */ color: oklch(56.2% 0.203 297.7);
Tailwind
colors: {
  custom: {
    50: '#af83e6',
    500: '#864fda',
    950: '#000000',
  },
}
SCSS
$custom: #864fda;
$custom-light: #af83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#864fda",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 263.741,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.20278,
    "h": 297.7
  },
  "luminance": 0.15722
}

Semantic roles & 50–950 ramp

primary
#864FDA
secondary
#C8DEA7
accent
#E840A5
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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