#862998#862998

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

Color values

HEX#862998
RGBrgb(134, 41, 152)
HSLhsl(290, 58%, 38%)
HSVhsv(290, 73%, 60%)
CMYKcmyk(11.8%, 73%, 0%, 40.4%)
CIE-LABlab(35.83, 54.32, -41.58)
CIE-LCHlch(35.83, 68.41, 322.57°)
OKLaboklab(47.07% 0.1418 -0.1164)
OKLCHoklch(47.07% 0.183 320.6)
XYZxyz(16.2913, 8.9221, 30.5637)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862998 #3B9829
analogous
#4E2998 #862998 #982973
triadic
#862998 #988629 #299886
tetradic
#862998 #984E29 #3B9829 #297398
square
#862998 #984E29 #3B9829 #297398
split-complementary
#862998 #739829 #29984E
monochromatic
#310F38 #5C1C68 #862998 #B036C8 #C466D6

Accessibility & contrast

On white

7.54
#862998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862998
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862998#FFFFFF#000000##FFFFFF
##8629981.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#355895
Tritanopia (blue-blind)
#873E5E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862998;
/* rgb */ color: rgb(134, 41, 152);
/* oklch */ color: oklch(47.1% 0.183 320.6);
Tailwind
colors: {
  custom: {
    50: '#ad6cb7',
    500: '#862998',
    950: '#000000',
  },
}
SCSS
$custom: #862998;
$custom-light: #ad6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#862998",
  "rgb": {
    "r": 134,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 290.27,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47066,
    "c": 0.18349,
    "h": 320.6
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#862998
secondary
#70BC61
accent
#E14760
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862998

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

Preview Lab → · Contrast checker → · Palette generator →

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