#862C98#862C98

#862C98 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.180 H 320.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#862C98
RGBrgb(134, 44, 152)
HSLhsl(290, 55%, 38%)
HSVhsv(290, 71%, 60%)
CMYKcmyk(11.8%, 71.1%, 0%, 40.4%)
CIE-LABlab(36.25, 53.15, -40.92)
CIE-LCHlch(36.25, 67.08, 322.41°)
OKLaboklab(47.36% 0.1387 -0.1145)
OKLCHoklch(47.36% 0.18 320.5)
XYZxyz(16.3990, 9.1375, 30.5996)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862C98 #3E982C
analogous
#502C98 #862C98 #982C74
triadic
#862C98 #98862C #2C9886
tetradic
#862C98 #98502C #3E982C #2C7498
square
#862C98 #98502C #3E982C #2C7498
split-complementary
#862C98 #74982C #2C9850
monochromatic
#321139 #5C1E69 #862C98 #AF3BC6 #C26AD4

Accessibility & contrast

On white

7.43
#862C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#862C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862C98
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862C98#FFFFFF#000000##FFFFFF
##862C981.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#375895
Tritanopia (blue-blind)
#87405F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862c98;
/* rgb */ color: rgb(134, 44, 152);
/* oklch */ color: oklch(47.4% 0.180 320.5);
Tailwind
colors: {
  custom: {
    50: '#ad6eb7',
    500: '#862c98',
    950: '#000000',
  },
}
SCSS
$custom: #862c98;
$custom-light: #ad6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#862c98",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 290,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.17986,
    "h": 320.5
  },
  "luminance": 0.09137
}

Semantic roles & 50–950 ramp

primary
#862C98
secondary
#73BB65
accent
#DE4962
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862C98

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

Preview Lab → · Contrast checker → · Palette generator →

#862C98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva