#864CE2#864CE2

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

Color values

HEX#864CE2
RGBrgb(134, 76, 226)
HSLhsl(263, 72%, 59%)
HSVhsv(263, 66%, 89%)
CMYKcmyk(40.7%, 66.4%, 0%, 11.4%)
CIE-LABlab(46.62, 55.26, -67.56)
CIE-LCHlch(46.62, 87.29, 309.28°)
OKLaboklab(56.4% 0.0965 -0.1929)
OKLCHoklch(56.4% 0.216 296.6)
XYZxyz(26.1398, 15.7277, 73.5953)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864CE2 #A8E24C
analogous
#4C5DE2 #864CE2 #D14CE2
triadic
#864CE2 #E2864C #4CE286
tetradic
#864CE2 #E24C5D #A8E24C #4CE2D1
square
#864CE2 #E24C5D #A8E24C #4CE2D1
split-complementary
#864CE2 #E2D14C #5DE24C
monochromatic
#4B199B #6522CF #864CE2 #AA81EB #CDB5F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##864CE2#FFFFFF#000000##FFFFFF
##864CE21.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#6F7091
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #864ce2;
/* rgb */ color: rgb(134, 76, 226);
/* oklch */ color: oklch(56.4% 0.216 296.6);
Tailwind
colors: {
  custom: {
    50: '#b082ec',
    500: '#864ce2',
    950: '#000000',
  },
}
SCSS
$custom: #864ce2;
$custom-light: #b082ec;
$custom-dark: #000000;
JSON
{
  "hex": "#864ce2",
  "rgb": {
    "r": 134,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 263.2,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.2157,
    "h": 296.6
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #864CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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