#862282#862282

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

Color values

HEX#862282
RGBrgb(134, 34, 130)
HSLhsl(302, 60%, 33%)
HSVhsv(302, 75%, 53%)
CMYKcmyk(0%, 74.6%, 3%, 47.5%)
CIE-LABlab(33.62, 52.89, -31.57)
CIE-LCHlch(33.62, 61.60, 329.16°)
OKLaboklab(45.05% 0.1494 -0.0872)
OKLCHoklch(45.05% 0.173 329.7)
XYZxyz(14.4327, 7.8252, 21.8650)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862282 #228626
analogous
#582286 #862282 #862250
triadic
#862282 #828622 #228286
tetradic
#862282 #865822 #228626 #225086
square
#862282 #865822 #228626 #225086
split-complementary
#862282 #508622 #228658
monochromatic
#240923 #551653 #862282 #B72EB1 #D350CD

Accessibility & contrast

On white

8.19
#862282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#862282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862282
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862282#FFFFFF#000000##FFFFFF
##8622821.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154685
Deuteranopia (green-blind)
#3F5480
Tritanopia (blue-blind)
#8B3050
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862282;
/* rgb */ color: rgb(134, 34, 130);
/* oklch */ color: oklch(45.1% 0.173 329.7);
Tailwind
colors: {
  custom: {
    50: '#ad68a7',
    500: '#862282',
    950: '#000000',
  },
}
SCSS
$custom: #862282;
$custom-light: #ad68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#862282",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 302.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45054,
    "c": 0.17302,
    "h": 329.7
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#862282
secondary
#4EB652
accent
#E34B45
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #862282

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

Preview Lab → · Contrast checker → · Palette generator →

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