#862BA9#862BA9

#862BA9 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.197 H 314.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#862BA9
RGBrgb(134, 43, 169)
HSLhsl(283, 59%, 42%)
HSVhsv(283, 75%, 66%)
CMYKcmyk(20.7%, 74.6%, 0%, 33.7%)
CIE-LABlab(37.23, 56.93, -49.60)
CIE-LCHlch(37.23, 75.51, 318.94°)
OKLaboklab(48.42% 0.1381 -0.1399)
OKLCHoklch(48.42% 0.197 314.6)
XYZxyz(17.8556, 9.6613, 38.4527)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BA9 #4EA92B
analogous
#472BA9 #862BA9 #A92B8D
triadic
#862BA9 #A9862B #2BA986
tetradic
#862BA9 #A9472B #4EA92B #2B8DA9
square
#862BA9 #A9472B #4EA92B #2B8DA9
split-complementary
#862BA9 #8DA92B #2BA947
monochromatic
#391247 #5F1F78 #862BA9 #A842CF #BE73DB

Accessibility & contrast

On white

7.16
#862BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#862BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862BA9
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BA9#FFFFFF#000000##FFFFFF
##862BA91.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#245AA6
Tritanopia (blue-blind)
#834768
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862ba9;
/* rgb */ color: rgb(134, 43, 169);
/* oklch */ color: oklch(48.4% 0.197 314.6);
Tailwind
colors: {
  custom: {
    50: '#ad6ec3',
    500: '#862ba9',
    950: '#000000',
  },
}
SCSS
$custom: #862ba9;
$custom-light: #ad6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#862ba9",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 283.333,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48416,
    "c": 0.19658,
    "h": 314.6
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#862BA9
secondary
#85C36D
accent
#E34571
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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