#862BB0#862BB0

#862BB0 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.203 H 312.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#862BB0
RGBrgb(134, 43, 176)
HSLhsl(281, 61%, 43%)
HSVhsv(281, 76%, 69%)
CMYKcmyk(23.9%, 75.6%, 0%, 31%)
CIE-LABlab(37.72, 58.38, -52.98)
CIE-LCHlch(37.72, 78.83, 317.78°)
OKLaboklab(48.92% 0.137 -0.1498)
OKLCHoklch(48.92% 0.203 312.4)
XYZxyz(18.5304, 9.9312, 42.0067)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BB0 #55B02B
analogous
#442BB0 #862BB0 #B02B97
triadic
#862BB0 #B0862B #2BB086
tetradic
#862BB0 #B0442B #55B02B #2B97B0
square
#862BB0 #B0442B #55B02B #2B97B0
split-complementary
#862BB0 #97B02B #2BB044
monochromatic
#3B134E #611F7F #862BB0 #A646D2 #BE78DE

Accessibility & contrast

On white

7.03
#862BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862BB0
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BB0#FFFFFF#000000##FFFFFF
##862BB01.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#185BAD
Tritanopia (blue-blind)
#814A6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862bb0;
/* rgb */ color: rgb(134, 43, 176);
/* oklch */ color: oklch(48.9% 0.203 312.4);
Tailwind
colors: {
  custom: {
    50: '#ae6ec8',
    500: '#862bb0',
    950: '#000000',
  },
}
SCSS
$custom: #862bb0;
$custom-light: #ae6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#862bb0",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 281.053,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48919,
    "c": 0.20305,
    "h": 312.4
  },
  "luminance": 0.09931
}

Semantic roles & 50–950 ramp

primary
#862BB0
secondary
#8CC671
accent
#E44476
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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