#862284#862284

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

Color values

HEX#862284
RGBrgb(134, 34, 132)
HSLhsl(301, 60%, 33%)
HSVhsv(301, 75%, 53%)
CMYKcmyk(0%, 74.6%, 1.5%, 47.5%)
CIE-LABlab(33.73, 53.23, -32.64)
CIE-LCHlch(33.73, 62.44, 328.49°)
OKLaboklab(45.17% 0.1495 -0.0903)
OKLCHoklch(45.17% 0.175 328.9)
XYZxyz(14.5683, 7.8794, 22.5789)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862284 #228624
analogous
#562286 #862284 #862252
triadic
#862284 #848622 #228486
tetradic
#862284 #865622 #228624 #225286
square
#862284 #865622 #228624 #225286
split-complementary
#862284 #528622 #228656
monochromatic
#240924 #551654 #862284 #B72EB4 #D350D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##862284#FFFFFF#000000##FFFFFF
##8622841.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)
#124787
Deuteranopia (green-blind)
#3E5482
Tritanopia (blue-blind)
#8B3151
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #862284;
/* rgb */ color: rgb(134, 34, 132);
/* oklch */ color: oklch(45.2% 0.175 328.9);
Tailwind
colors: {
  custom: {
    50: '#ad68a8',
    500: '#862284',
    950: '#000000',
  },
}
SCSS
$custom: #862284;
$custom-light: #ad68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#862284",
  "rgb": {
    "r": 134,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 301.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.17462,
    "h": 328.9
  },
  "luminance": 0.07878
}

Semantic roles & 50–950 ramp

primary
#862284
secondary
#4EB650
accent
#E34845
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #862284

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

Preview Lab → · Contrast checker → · Palette generator →

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