#862481#862481

#862481 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.170 H 330.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#862481
RGBrgb(134, 36, 129)
HSLhsl(303, 58%, 33%)
HSVhsv(303, 73%, 53%)
CMYKcmyk(0%, 73.1%, 3.7%, 47.5%)
CIE-LABlab(33.81, 52.01, -30.65)
CIE-LCHlch(33.81, 60.37, 329.49°)
OKLaboklab(45.17% 0.1474 -0.0845)
OKLCHoklch(45.17% 0.17 330.2)
XYZxyz(14.4248, 7.9162, 21.5329)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862481 #248629
analogous
#5A2486 #862481 #862450
triadic
#862481 #818624 #248186
tetradic
#862481 #865A24 #248629 #245086
square
#862481 #865A24 #248629 #245086
split-complementary
#862481 #508624 #24865A
monochromatic
#260A24 #561753 #862481 #B631AF #D153CB

Accessibility & contrast

On white

8.13
#862481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#862481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862481
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862481#FFFFFF#000000##FFFFFF
##8624811.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#41547F
Tritanopia (blue-blind)
#8B3050
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862481;
/* rgb */ color: rgb(134, 36, 129);
/* oklch */ color: oklch(45.2% 0.170 330.2);
Tailwind
colors: {
  custom: {
    50: '#ac69a6',
    500: '#862481',
    950: '#000000',
  },
}
SCSS
$custom: #862481;
$custom-light: #ac69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#862481",
  "rgb": {
    "r": 134,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 303.061,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45174,
    "c": 0.16991,
    "h": 330.2
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#862481
secondary
#51B556
accent
#E14F47
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #862481

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

Preview Lab → · Contrast checker → · Palette generator →

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