#862382#862382

#862382 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.172 H 329.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#862382
RGBrgb(134, 35, 130)
HSLhsl(302, 59%, 33%)
HSVhsv(302, 74%, 53%)
CMYKcmyk(0%, 73.9%, 3%, 47.5%)
CIE-LABlab(33.74, 52.54, -31.38)
CIE-LCHlch(33.74, 61.20, 329.15°)
OKLaboklab(45.14% 0.1484 -0.0866)
OKLCHoklch(45.14% 0.172 329.7)
XYZxyz(14.4617, 7.8832, 21.8747)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862382 #238627
analogous
#582386 #862382 #862350
triadic
#862382 #828623 #238286
tetradic
#862382 #865823 #238627 #235086
square
#862382 #865823 #238627 #235086
split-complementary
#862382 #508623 #238658
monochromatic
#250A24 #551653 #862382 #B730B1 #D252CD

Accessibility & contrast

On white

8.15
#862382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862382
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862382#FFFFFF#000000##FFFFFF
##8623821.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#405480
Tritanopia (blue-blind)
#8B3050
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862382;
/* rgb */ color: rgb(134, 35, 130);
/* oklch */ color: oklch(45.1% 0.172 329.7);
Tailwind
colors: {
  custom: {
    50: '#ad69a7',
    500: '#862382',
    950: '#000000',
  },
}
SCSS
$custom: #862382;
$custom-light: #ad69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#862382",
  "rgb": {
    "r": 134,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 302.424,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.17188,
    "h": 329.7
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#862382
secondary
#4FB553
accent
#E24C46
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #862382

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

Preview Lab → · Contrast checker → · Palette generator →

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