#862478#862478

#862478 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.163 H 334.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#862478
RGBrgb(134, 36, 120)
HSLhsl(309, 58%, 33%)
HSVhsv(309, 73%, 53%)
CMYKcmyk(0%, 73.1%, 10.4%, 47.5%)
CIE-LABlab(33.32, 50.53, -25.77)
CIE-LCHlch(33.32, 56.72, 332.98°)
OKLaboklab(44.67% 0.1468 -0.0705)
OKLCHoklch(44.67% 0.163 334.4)
XYZxyz(13.8527, 7.6873, 18.5199)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862478 #248632
analogous
#632486 #862478 #862447
triadic
#862478 #788624 #247886
tetradic
#862478 #866324 #248632 #244786
square
#862478 #866324 #248632 #244786
split-complementary
#862478 #478624 #248663
monochromatic
#260A22 #56174D #862478 #B631A3 #D153BF

Accessibility & contrast

On white

8.28
#862478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#862478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862478
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862478#FFFFFF#000000##FFFFFF
##8624781.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#455376
Tritanopia (blue-blind)
#8D2C4B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #862478;
/* rgb */ color: rgb(134, 36, 120);
/* oklch */ color: oklch(44.7% 0.163 334.4);
Tailwind
colors: {
  custom: {
    50: '#ac699f',
    500: '#862478',
    950: '#000000',
  },
}
SCSS
$custom: #862478;
$custom-light: #ac699f;
$custom-dark: #000000;
JSON
{
  "hex": "#862478",
  "rgb": {
    "r": 134,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 308.571,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44667,
    "c": 0.16285,
    "h": 334.4
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#862478
secondary
#51B55F
accent
#E15D47
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #862478

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

Preview Lab → · Contrast checker → · Palette generator →

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