#862AAF#862AAF

#862AAF is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.203 H 312.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#862AAF
RGBrgb(134, 42, 175)
HSLhsl(282, 61%, 43%)
HSVhsv(282, 76%, 69%)
CMYKcmyk(23.4%, 76%, 0%, 31.4%)
CIE-LABlab(37.52, 58.54, -52.71)
CIE-LCHlch(37.52, 78.78, 318.00°)
OKLaboklab(48.76% 0.1381 -0.149)
OKLCHoklch(48.76% 0.203 312.8)
XYZxyz(18.3960, 9.8200, 41.4755)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862AAF #53AF2A
analogous
#442AAF #862AAF #AF2A95
triadic
#862AAF #AF862A #2AAF86
tetradic
#862AAF #AF442A #53AF2A #2A95AF
square
#862AAF #AF442A #53AF2A #2A95AF
split-complementary
#862AAF #95AF2A #2AAF44
monochromatic
#3A124C #601E7E #862AAF #A644D2 #BE75DE

Accessibility & contrast

On white

7.09
#862AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#862AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862AAF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862AAF#FFFFFF#000000##FFFFFF
##862AAF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#195AAC
Tritanopia (blue-blind)
#81496B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #862aaf;
/* rgb */ color: rgb(134, 42, 175);
/* oklch */ color: oklch(48.8% 0.203 312.8);
Tailwind
colors: {
  custom: {
    50: '#ae6ec8',
    500: '#862aaf',
    950: '#000000',
  },
}
SCSS
$custom: #862aaf;
$custom-light: #ae6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#862aaf",
  "rgb": {
    "r": 134,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 281.504,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48755,
    "c": 0.20319,
    "h": 312.8
  },
  "luminance": 0.09819
}

Semantic roles & 50–950 ramp

primary
#862AAF
secondary
#8AC66F
accent
#E44375
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #862AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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