#862DAF#862DAF

#862DAF is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.200 H 312.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#862DAF
RGBrgb(134, 45, 175)
HSLhsl(281, 59%, 43%)
HSVhsv(281, 74%, 69%)
CMYKcmyk(23.4%, 74.3%, 0%, 31.4%)
CIE-LABlab(37.92, 57.41, -52.06)
CIE-LCHlch(37.92, 77.50, 317.79°)
OKLaboklab(49.04% 0.1353 -0.1472)
OKLCHoklch(49.04% 0.2 312.6)
XYZxyz(18.5064, 10.0408, 41.5123)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862DAF #56AF2D
analogous
#452DAF #862DAF #AF2D97
triadic
#862DAF #AF862D #2DAF86
tetradic
#862DAF #AF452D #56AF2D #2D97AF
square
#862DAF #AF452D #56AF2D #2D97AF
split-complementary
#862DAF #97AF2D #2DAF45
monochromatic
#3B144E #61207E #862DAF #A649D0 #BD7ADD

Accessibility & contrast

On white

6.98
#862DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#862DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #862DAF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862DAF#FFFFFF#000000##FFFFFF
##862DAF1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #862daf;
/* rgb */ color: rgb(134, 45, 175);
/* oklch */ color: oklch(49.0% 0.200 312.6);
Tailwind
colors: {
  custom: {
    50: '#ae6fc8',
    500: '#862daf',
    950: '#000000',
  },
}
SCSS
$custom: #862daf;
$custom-light: #ae6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#862daf",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 281.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.49036,
    "c": 0.19993,
    "h": 312.6
  },
  "luminance": 0.1004
}

Semantic roles & 50–950 ramp

primary
#862DAF
secondary
#8DC573
accent
#E24677
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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