#864F97#864F97

#864F97 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.0% C 0.125 H 317.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#864F97
RGBrgb(134, 79, 151)
HSLhsl(286, 31%, 45%)
HSVhsv(286, 48%, 59%)
CMYKcmyk(11.3%, 47.7%, 0%, 40.8%)
CIE-LABlab(42.61, 35.65, -30.25)
CIE-LCHlch(42.61, 46.75, 319.69°)
OKLaboklab(51.99% 0.0925 -0.0837)
OKLCHoklch(51.99% 0.125 317.8)
XYZxyz(18.2126, 12.8953, 30.8018)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#864F97 #60974F
analogous
#624F97 #864F97 #974F84
triadic
#864F97 #97864F #4F9786
tetradic
#864F97 #97624F #60974F #4F8497
square
#864F97 #97624F #60974F #4F8497
split-complementary
#864F97 #84974F #4F9762
monochromatic
#3F2547 #623A6F #864F97 #A46FB4 #BD98C9

Accessibility & contrast

On white

5.87
#864F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#864F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #864F97
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##864F97#FFFFFF#000000##FFFFFF
##864F971.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42619A
Deuteranopia (green-blind)
#526695
Tritanopia (blue-blind)
#86596C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #864f97;
/* rgb */ color: rgb(134, 79, 151);
/* oklch */ color: oklch(52.0% 0.125 317.8);
Tailwind
colors: {
  custom: {
    50: '#ab82b6',
    500: '#864f97',
    950: '#000000',
  },
}
SCSS
$custom: #864f97;
$custom-light: #ab82b6;
$custom-dark: #000000;
JSON
{
  "hex": "#864f97",
  "rgb": {
    "r": 134,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 285.833,
    "s": 31.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.12472,
    "h": 317.8
  },
  "luminance": 0.12895
}

Semantic roles & 50–950 ramp

primary
#864F97
secondary
#96B68C
accent
#C76079
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #864F97

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

Preview Lab → · Contrast checker → · Palette generator →

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