#863797#863797

#863797 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.5% C 0.164 H 320.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#863797
RGBrgb(134, 55, 151)
HSLhsl(289, 47%, 40%)
HSVhsv(289, 64%, 59%)
CMYKcmyk(11.3%, 63.6%, 0%, 40.8%)
CIE-LABlab(37.91, 48.15, -37.67)
CIE-LCHlch(37.91, 61.13, 321.96°)
OKLaboklab(48.54% 0.1259 -0.1051)
OKLCHoklch(48.54% 0.164 320.1)
XYZxyz(16.7829, 10.0359, 30.3252)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#863797 #489737
analogous
#563797 #863797 #973778
triadic
#863797 #978637 #379786
tetradic
#863797 #975637 #489737 #377897
square
#863797 #975637 #489737 #377897
split-complementary
#863797 #789737 #379756
monochromatic
#36163D #5E276A #863797 #AA4DBE #C07ACF

Accessibility & contrast

On white

6.98
#863797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#863797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #863797
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##863797#FFFFFF#000000##FFFFFF
##8637971.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#874762
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #863797;
/* rgb */ color: rgb(134, 55, 151);
/* oklch */ color: oklch(48.5% 0.164 320.1);
Tailwind
colors: {
  custom: {
    50: '#ac73b6',
    500: '#863797',
    950: '#000000',
  },
}
SCSS
$custom: #863797;
$custom-light: #ac73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#863797",
  "rgb": {
    "r": 134,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 289.375,
    "s": 46.602,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.16398,
    "h": 320.1
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#863797
secondary
#7FB872
accent
#D65269
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #863797

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

Preview Lab → · Contrast checker → · Palette generator →

#863797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva