#862CAF#862CAF

#862CAF is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 48.9% C 0.201 H 312.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#862CAF
RGBrgb(134, 44, 175)
HSLhsl(281, 60%, 43%)
HSVhsv(281, 75%, 69%)
CMYKcmyk(23.4%, 74.9%, 0%, 31.4%)
CIE-LABlab(37.78, 57.79, -52.28)
CIE-LCHlch(37.78, 77.93, 317.86°)
OKLaboklab(48.94% 0.1363 -0.1478)
OKLCHoklch(48.94% 0.201 312.7)
XYZxyz(18.4687, 9.9654, 41.4998)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862CAF #55AF2C
analogous
#442CAF #862CAF #AF2C96
triadic
#862CAF #AF862C #2CAF86
tetradic
#862CAF #AF442C #55AF2C #2C96AF
square
#862CAF #AF442C #55AF2C #2C96AF
split-complementary
#862CAF #96AF2C #2CAF44
monochromatic
#3B134D #61207E #862CAF #A647D1 #BE78DD

Accessibility & contrast

On white

7.02
#862CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862CAF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862CAF#FFFFFF#000000##FFFFFF
##862CAF1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#1C5BAC
Tritanopia (blue-blind)
#814A6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862caf;
/* rgb */ color: rgb(134, 44, 175);
/* oklch */ color: oklch(48.9% 0.201 312.7);
Tailwind
colors: {
  custom: {
    50: '#ae6ec8',
    500: '#862caf',
    950: '#000000',
  },
}
SCSS
$custom: #862caf;
$custom-light: #ae6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#862caf",
  "rgb": {
    "r": 134,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 281.221,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4894,
    "c": 0.20103,
    "h": 312.7
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#862CAF
secondary
#8CC572
accent
#E34576
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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