#862997#862997

#862997 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.183 H 321.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#862997
RGBrgb(134, 41, 151)
HSLhsl(291, 57%, 38%)
HSVhsv(291, 73%, 59%)
CMYKcmyk(11.3%, 72.8%, 0%, 40.8%)
CIE-LABlab(35.77, 54.13, -41.08)
CIE-LCHlch(35.77, 67.95, 322.81°)
OKLaboklab(47% 0.1419 -0.1149)
OKLCHoklch(47% 0.183 321)
XYZxyz(16.2097, 8.8894, 30.1342)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862997 #3A9729
analogous
#4F2997 #862997 #972971
triadic
#862997 #978629 #299786
tetradic
#862997 #974F29 #3A9729 #297197
square
#862997 #974F29 #3A9729 #297197
split-complementary
#862997 #719729 #29974F
monochromatic
#310F37 #5B1C67 #862997 #B136C7 #C465D5

Accessibility & contrast

On white

7.56
#862997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#862997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862997
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862997#FFFFFF#000000##FFFFFF
##8629971.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#355794
Tritanopia (blue-blind)
#873E5D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862997;
/* rgb */ color: rgb(134, 41, 151);
/* oklch */ color: oklch(47.0% 0.183 321.0);
Tailwind
colors: {
  custom: {
    50: '#ad6cb6',
    500: '#862997',
    950: '#000000',
  },
}
SCSS
$custom: #862997;
$custom-light: #ad6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#862997",
  "rgb": {
    "r": 134,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 290.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47001,
    "c": 0.1826,
    "h": 321
  },
  "luminance": 0.08889
}

Semantic roles & 50–950 ramp

primary
#862997
secondary
#6FBB61
accent
#E1475F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862997

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

Preview Lab → · Contrast checker → · Palette generator →

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