#864BB2#864BB2

#864BB2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.162 H 308.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#864BB2
RGBrgb(134, 75, 178)
HSLhsl(274, 41%, 50%)
HSVhsv(274, 58%, 70%)
CMYKcmyk(24.7%, 57.9%, 0%, 30.2%)
CIE-LABlab(43.23, 43.96, -45.29)
CIE-LCHlch(43.23, 63.12, 314.14°)
OKLaboklab(52.93% 0.1006 -0.1275)
OKLCHoklch(52.93% 0.162 308.3)
XYZxyz(20.3819, 13.3151, 43.6072)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864BB2 #77B24B
analogous
#534BB2 #864BB2 #B24BAA
triadic
#864BB2 #B2864B #4BB286
tetradic
#864BB2 #B2534B #77B24B #4BAAB2
square
#864BB2 #B2534B #77B24B #4BAAB2
split-complementary
#864BB2 #AAB24B #4BB253
monochromatic
#45275C #663987 #864BB2 #A375C5 #C0A0D7

Accessibility & contrast

On white

5.73
#864BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#864BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864BB2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864BB2#FFFFFF#000000##FFFFFF
##864BB21.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#805E77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #864bb2;
/* rgb */ color: rgb(134, 75, 178);
/* oklch */ color: oklch(52.9% 0.162 308.3);
Tailwind
colors: {
  custom: {
    50: '#ac80c9',
    500: '#864bb2',
    950: '#000000',
  },
}
SCSS
$custom: #864bb2;
$custom-light: #ac80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#864bb2",
  "rgb": {
    "r": 134,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 274.369,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.16236,
    "h": 308.3
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#864BB2
secondary
#A9C495
accent
#D1578B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #864BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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