#862CB0#862CB0

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

Color values

HEX#862CB0
RGBrgb(134, 44, 176)
HSLhsl(281, 60%, 43%)
HSVhsv(281, 75%, 69%)
CMYKcmyk(23.9%, 75%, 0%, 31%)
CIE-LABlab(37.85, 58.00, -52.76)
CIE-LCHlch(37.85, 78.41, 317.71°)
OKLaboklab(49.01% 0.1361 -0.1492)
OKLCHoklch(49.01% 0.202 312.4)
XYZxyz(18.5672, 10.0048, 42.0189)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CB0 #56B02C
analogous
#442CB0 #862CB0 #B02C98
triadic
#862CB0 #B0862C #2CB086
tetradic
#862CB0 #B0442C #56B02C #2C98B0
square
#862CB0 #B0442C #56B02C #2C98B0
split-complementary
#862CB0 #98B02C #2CB044
monochromatic
#3B144E #61207F #862CB0 #A648D1 #BD79DD

Accessibility & contrast

On white

7.00
#862CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#862CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862CB0
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CB0#FFFFFF#000000##FFFFFF
##862CB01.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#1A5BAD
Tritanopia (blue-blind)
#814A6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862cb0;
/* rgb */ color: rgb(134, 44, 176);
/* oklch */ color: oklch(49.0% 0.202 312.4);
Tailwind
colors: {
  custom: {
    50: '#ae6fc8',
    500: '#862cb0',
    950: '#000000',
  },
}
SCSS
$custom: #862cb0;
$custom-light: #ae6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#862cb0",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 280.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49013,
    "c": 0.20197,
    "h": 312.4
  },
  "luminance": 0.10004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #862CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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