#864DE2#864DE2

#864DE2 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.214 H 296.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#864DE2
RGBrgb(134, 77, 226)
HSLhsl(263, 72%, 59%)
HSVhsv(263, 66%, 89%)
CMYKcmyk(40.7%, 65.9%, 0%, 11.4%)
CIE-LABlab(46.80, 54.76, -67.26)
CIE-LCHlch(46.80, 86.73, 309.15°)
OKLaboklab(56.53% 0.0955 -0.192)
OKLCHoklch(56.53% 0.214 296.4)
XYZxyz(26.2093, 15.8666, 73.6184)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864DE2 #A9E24D
analogous
#4D5FE2 #864DE2 #D14DE2
triadic
#864DE2 #E2864D #4DE286
tetradic
#864DE2 #E24D5F #A9E24D #4DE2D1
square
#864DE2 #E24D5F #A9E24D #4DE2D1
split-complementary
#864DE2 #E2D14D #5FE24D
monochromatic
#4B199B #6422D0 #864DE2 #AA82EB #CEB6F3

Accessibility & contrast

On white

5.03
#864DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#864DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864DE2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864DE2#FFFFFF#000000##FFFFFF
##864DE21.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#006DDF
Tritanopia (blue-blind)
#6F7091
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #864de2;
/* rgb */ color: rgb(134, 77, 226);
/* oklch */ color: oklch(56.5% 0.214 296.4);
Tailwind
colors: {
  custom: {
    50: '#b082ec',
    500: '#864de2',
    950: '#000000',
  },
}
SCSS
$custom: #864de2;
$custom-light: #b082ec;
$custom-dark: #000000;
JSON
{
  "hex": "#864de2",
  "rgb": {
    "r": 134,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 262.953,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56526,
    "c": 0.21445,
    "h": 296.4
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#864DE2
secondary
#CCE2A8
accent
#EF39A9
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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