#864FC2#864FC2

#864FC2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.175 H 303.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#864FC2
RGBrgb(134, 79, 194)
HSLhsl(269, 49%, 54%)
HSVhsv(269, 59%, 76%)
CMYKcmyk(30.9%, 59.3%, 0%, 23.9%)
CIE-LABlab(45.02, 45.66, -51.78)
CIE-LCHlch(45.02, 69.04, 311.40°)
OKLaboklab(54.55% 0.0955 -0.1465)
OKLCHoklch(54.55% 0.175 303.1)
XYZxyz(22.3629, 14.5554, 52.6598)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864FC2 #8BC24F
analogous
#4F51C2 #864FC2 #BF4FC2
triadic
#864FC2 #C2864F #4FC286
tetradic
#864FC2 #C24F51 #8BC24F #4FC2BF
square
#864FC2 #C24F51 #8BC24F #4FC2BF
split-complementary
#864FC2 #C2BF4F #51C24F
monochromatic
#4A2770 #68379D #864FC2 #A57CD2 #C4AAE2

Accessibility & contrast

On white

5.37
#864FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#864FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864FC2
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864FC2#FFFFFF#000000##FFFFFF
##864FC21.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1669C6
Deuteranopia (green-blind)
#326ABF
Tritanopia (blue-blind)
#7B6681
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #864fc2;
/* rgb */ color: rgb(134, 79, 194);
/* oklch */ color: oklch(54.5% 0.175 303.1);
Tailwind
colors: {
  custom: {
    50: '#ad83d5',
    500: '#864fc2',
    950: '#000000',
  },
}
SCSS
$custom: #864fc2;
$custom-light: #ad83d5;
$custom-dark: #000000;
JSON
{
  "hex": "#864fc2",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 268.696,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5455,
    "c": 0.17491,
    "h": 303.1
  },
  "luminance": 0.14555
}

Semantic roles & 50–950 ramp

primary
#864FC2
secondary
#B7CF9E
accent
#D85097
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #864FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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