#864FE3#864FE3

#864FE3 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.213 H 296.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#864FE3
RGBrgb(134, 79, 227)
HSLhsl(262, 73%, 60%)
HSVhsv(262, 65%, 89%)
CMYKcmyk(41%, 65.2%, 0%, 11%)
CIE-LABlab(47.24, 54.00, -67.11)
CIE-LCHlch(47.24, 86.14, 308.82°)
OKLaboklab(56.87% 0.0933 -0.1916)
OKLCHoklch(56.87% 0.213 296)
XYZxyz(26.4890, 16.2058, 74.3906)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FE3 #ACE34F
analogous
#4F62E3 #864FE3 #D04FE3
triadic
#864FE3 #E3864F #4FE386
tetradic
#864FE3 #E34F62 #ACE34F #4FE3D0
square
#864FE3 #E34F62 #ACE34F #4FE3D0
split-complementary
#864FE3 #E3D04F #62E34F
monochromatic
#4B199E #6422D3 #864FE3 #AA84EB #CFB9F4

Accessibility & contrast

On white

4.95
#864FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#864FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FE3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FE3#FFFFFF#000000##FFFFFF
##864FE31.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#006EE0
Tritanopia (blue-blind)
#6E7292
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #864fe3;
/* rgb */ color: rgb(134, 79, 227);
/* oklch */ color: oklch(56.9% 0.213 296.0);
Tailwind
colors: {
  custom: {
    50: '#b084ed',
    500: '#864fe3',
    950: '#000000',
  },
}
SCSS
$custom: #864fe3;
$custom-light: #b084ed;
$custom-dark: #000000;
JSON
{
  "hex": "#864fe3",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 262.297,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.21308,
    "h": 296
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#864FE3
secondary
#CEE3AA
accent
#EF39AB
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #864FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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