#862DA9#862DA9

#862DA9 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.194 H 314.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#862DA9
RGBrgb(134, 45, 169)
HSLhsl(283, 58%, 42%)
HSVhsv(283, 73%, 66%)
CMYKcmyk(20.7%, 73.4%, 0%, 33.7%)
CIE-LABlab(37.50, 56.16, -49.16)
CIE-LCHlch(37.50, 74.63, 318.80°)
OKLaboklab(48.61% 0.1362 -0.1386)
OKLCHoklch(48.61% 0.194 314.5)
XYZxyz(17.9301, 9.8103, 38.4775)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DA9 #50A92D
analogous
#482DA9 #862DA9 #A92D8E
triadic
#862DA9 #A9862D #2DA986
tetradic
#862DA9 #A9482D #50A92D #2D8EA9
square
#862DA9 #A9482D #50A92D #2D8EA9
split-complementary
#862DA9 #8EA92D #2DA948
monochromatic
#391348 #602079 #862DA9 #A746CE #BE76DA

Accessibility & contrast

On white

7.09
#862DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#862DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862DA9
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DA9#FFFFFF#000000##FFFFFF
##862DA91.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#265AA6
Tritanopia (blue-blind)
#834869
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862da9;
/* rgb */ color: rgb(134, 45, 169);
/* oklch */ color: oklch(48.6% 0.194 314.5);
Tailwind
colors: {
  custom: {
    50: '#ad6fc3',
    500: '#862da9',
    950: '#000000',
  },
}
SCSS
$custom: #862da9;
$custom-light: #ad6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#862da9",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 283.065,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48609,
    "c": 0.19431,
    "h": 314.5
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#862DA9
secondary
#87C26F
accent
#E14772
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862DA9

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

Preview Lab → · Contrast checker → · Palette generator →

#862DA9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva