#864BC2#864BC2

#864BC2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.181 H 303.8°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#864BC2
RGBrgb(134, 75, 194)
HSLhsl(270, 49%, 53%)
HSVhsv(270, 61%, 76%)
CMYKcmyk(30.9%, 61.3%, 0%, 23.9%)
CIE-LABlab(44.23, 47.78, -53.06)
CIE-LCHlch(44.23, 71.40, 312.01°)
OKLaboklab(53.97% 0.1004 -0.1502)
OKLCHoklch(53.97% 0.181 303.8)
XYZxyz(22.0830, 13.9956, 52.5665)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BC2 #87C24B
analogous
#4B4BC2 #864BC2 #C24BC2
triadic
#864BC2 #C2864B #4BC286
tetradic
#864BC2 #C24B4B #87C24B #4BC2C2
square
#864BC2 #C24B4B #87C24B #4BC2C2
split-complementary
#864BC2 #C2C24B #4BC24B
monochromatic
#49256D #67359B #864BC2 #A579D1 #C3A6E1

Accessibility & contrast

On white

5.53
#864BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#864BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BC2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BC2#FFFFFF#000000##FFFFFF
##864BC21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#2C68BF
Tritanopia (blue-blind)
#7B647F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #864bc2;
/* rgb */ color: rgb(134, 75, 194);
/* oklch */ color: oklch(54.0% 0.181 303.8);
Tailwind
colors: {
  custom: {
    50: '#ad80d5',
    500: '#864bc2',
    950: '#000000',
  },
}
SCSS
$custom: #864bc2;
$custom-light: #ad80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#864bc2",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 269.748,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53973,
    "c": 0.18071,
    "h": 303.8
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#864BC2
secondary
#B5CE9B
accent
#D94F94
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #864BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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