#863F8A#863F8A

#863F8A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 48.9% C 0.139 H 325.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#863F8A
RGBrgb(134, 63, 138)
HSLhsl(297, 37%, 39%)
HSVhsv(297, 54%, 54%)
CMYKcmyk(2.9%, 54.3%, 0%, 45.9%)
CIE-LABlab(38.65, 41.62, -28.57)
CIE-LCHlch(38.65, 50.48, 325.53°)
OKLaboklab(48.85% 0.1141 -0.0788)
OKLCHoklch(48.85% 0.139 325.4)
XYZxyz(16.1961, 10.4592, 25.2056)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#863F8A #438A3F
analogous
#613F8A #863F8A #8A3F69
triadic
#863F8A #8A863F #3F8A86
tetradic
#863F8A #8A613F #438A3F #3F698A
square
#863F8A #8A613F #438A3F #3F698A
split-complementary
#863F8A #698A3F #3F8A61
monochromatic
#341936 #5D2C60 #863F8A #AC55B1 #C17FC5

Accessibility & contrast

On white

6.79
#863F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#863F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #863F8A
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##863F8A#FFFFFF#000000##FFFFFF
##863F8A1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558C
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#89485E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #863f8a;
/* rgb */ color: rgb(134, 63, 138);
/* oklch */ color: oklch(48.9% 0.139 325.4);
Tailwind
colors: {
  custom: {
    50: '#ab77ac',
    500: '#863f8a',
    950: '#000000',
  },
}
SCSS
$custom: #863f8a;
$custom-light: #ab77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#863f8a",
  "rgb": {
    "r": 134,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 296.8,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48854,
    "c": 0.13867,
    "h": 325.4
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#863F8A
secondary
#79AF76
accent
#CD5B61
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#100910
muted
#7F7B7F

Preview Lab

Preview with #863F8A

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

Preview Lab → · Contrast checker → · Palette generator →

#863F8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva