#862AB0#862AB0

#862AB0 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.8% C 0.204 H 312.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#862AB0
RGBrgb(134, 42, 176)
HSLhsl(281, 61%, 43%)
HSVhsv(281, 76%, 69%)
CMYKcmyk(23.9%, 76.1%, 0%, 31%)
CIE-LABlab(37.59, 58.75, -53.19)
CIE-LCHlch(37.59, 79.25, 317.85°)
OKLaboklab(48.83% 0.1379 -0.1504)
OKLCHoklch(48.83% 0.204 312.5)
XYZxyz(18.4945, 9.8594, 41.9947)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862AB0 #54B02A
analogous
#432AB0 #862AB0 #B02A97
triadic
#862AB0 #B0862A #2AB086
tetradic
#862AB0 #B0432A #54B02A #2A97B0
square
#862AB0 #B0432A #54B02A #2A97B0
split-complementary
#862AB0 #97B02A #2AB043
monochromatic
#3B124D #601E7F #862AB0 #A645D3 #BE76DE

Accessibility & contrast

On white

7.07
#862AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#862AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862AB0
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862AB0#FFFFFF#000000##FFFFFF
##862AB01.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#175AAD
Tritanopia (blue-blind)
#81496C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862ab0;
/* rgb */ color: rgb(134, 42, 176);
/* oklch */ color: oklch(48.8% 0.204 312.5);
Tailwind
colors: {
  custom: {
    50: '#ae6ec8',
    500: '#862ab0',
    950: '#000000',
  },
}
SCSS
$custom: #862ab0;
$custom-light: #ae6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#862ab0",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 281.194,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48828,
    "c": 0.20411,
    "h": 312.5
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#862AB0
secondary
#8BC670
accent
#E54376
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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