#862097#862097

#862097 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.192 H 321.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#862097
RGBrgb(134, 32, 151)
HSLhsl(291, 65%, 36%)
HSVhsv(291, 79%, 59%)
CMYKcmyk(11.3%, 78.8%, 0%, 40.8%)
CIE-LABlab(34.67, 57.27, -42.83)
CIE-LCHlch(34.67, 71.52, 323.21°)
OKLaboklab(46.22% 0.1503 -0.12)
OKLCHoklch(46.22% 0.192 321.4)
XYZxyz(15.9333, 8.3366, 30.0420)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862097 #319720
analogous
#4B2097 #862097 #97206C
triadic
#862097 #978620 #209786
tetradic
#862097 #974B20 #319720 #206C97
square
#862097 #974B20 #319720 #206C97
split-complementary
#862097 #6C9720 #20974B
monochromatic
#2C0B32 #591564 #862097 #B32BC9 #C856DB

Accessibility & contrast

On white

7.87
#862097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#862097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862097
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862097#FFFFFF#000000##FFFFFF
##8620971.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#305594
Tritanopia (blue-blind)
#87395B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862097;
/* rgb */ color: rgb(134, 32, 151);
/* oklch */ color: oklch(46.2% 0.192 321.4);
Tailwind
colors: {
  custom: {
    50: '#ad68b6',
    500: '#862097',
    950: '#000000',
  },
}
SCSS
$custom: #862097;
$custom-light: #ad68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#862097",
  "rgb": {
    "r": 134,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 291.429,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.19233,
    "h": 321.4
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#862097
secondary
#63BF54
accent
#E84058
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862097

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

Preview Lab → · Contrast checker → · Palette generator →

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