#862EA9#862EA9

#862EA9 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.193 H 314.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#862EA9
RGBrgb(134, 46, 169)
HSLhsl(283, 57%, 42%)
HSVhsv(283, 73%, 66%)
CMYKcmyk(20.7%, 72.8%, 0%, 33.7%)
CIE-LABlab(37.64, 55.76, -48.93)
CIE-LCHlch(37.64, 74.19, 318.73°)
OKLaboklab(48.71% 0.1352 -0.138)
OKLCHoklch(48.71% 0.193 314.4)
XYZxyz(17.9687, 9.8875, 38.4904)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862EA9 #51A92E
analogous
#492EA9 #862EA9 #A92E8E
triadic
#862EA9 #A9862E #2EA986
tetradic
#862EA9 #A9492E #51A92E #2E8EA9
square
#862EA9 #A9492E #51A92E #2E8EA9
split-complementary
#862EA9 #8EA92E #2EA949
monochromatic
#3A1449 #602179 #862EA9 #A747CD #BE77DA

Accessibility & contrast

On white

7.05
#862EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#862EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862EA9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862EA9#FFFFFF#000000##FFFFFF
##862EA91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#275BA6
Tritanopia (blue-blind)
#834869
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862ea9;
/* rgb */ color: rgb(134, 46, 169);
/* oklch */ color: oklch(48.7% 0.193 314.4);
Tailwind
colors: {
  custom: {
    50: '#ad6fc3',
    500: '#862ea9',
    950: '#000000',
  },
}
SCSS
$custom: #862ea9;
$custom-light: #ad6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#862ea9",
  "rgb": {
    "r": 134,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 282.927,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48709,
    "c": 0.19314,
    "h": 314.4
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#862EA9
secondary
#88C271
accent
#E04773
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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