#862BB1#862BB1

#862BB1 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.0% C 0.204 H 312.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#862BB1
RGBrgb(134, 43, 177)
HSLhsl(281, 61%, 43%)
HSVhsv(281, 76%, 69%)
CMYKcmyk(24.3%, 75.7%, 0%, 30.6%)
CIE-LABlab(37.79, 58.59, -53.46)
CIE-LCHlch(37.79, 79.31, 317.62°)
OKLaboklab(48.99% 0.1369 -0.1512)
OKLCHoklch(48.99% 0.204 312.1)
XYZxyz(18.6297, 9.9709, 42.5297)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BB1 #56B12B
analogous
#432BB1 #862BB1 #B12B99
triadic
#862BB1 #B1862B #2BB186
tetradic
#862BB1 #B1432B #56B12B #2B99B1
square
#862BB1 #B1432B #56B12B #2B99B1
split-complementary
#862BB1 #99B12B #2BB143
monochromatic
#3B134F #611F80 #862BB1 #A647D2 #BD78DE

Accessibility & contrast

On white

7.01
#862BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#862BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862BB1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BB1#FFFFFF#000000##FFFFFF
##862BB11.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#165BAE
Tritanopia (blue-blind)
#814A6D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862bb1;
/* rgb */ color: rgb(134, 43, 177);
/* oklch */ color: oklch(49.0% 0.204 312.1);
Tailwind
colors: {
  custom: {
    50: '#ae6ec9',
    500: '#862bb1',
    950: '#000000',
  },
}
SCSS
$custom: #862bb1;
$custom-light: #ae6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#862bb1",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 280.746,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48992,
    "c": 0.20397,
    "h": 312.1
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

primary
#862BB1
secondary
#8DC672
accent
#E44477
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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