#862BAF#862BAF

#862BAF is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.8% C 0.202 H 312.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#862BAF
RGBrgb(134, 43, 175)
HSLhsl(281, 61%, 43%)
HSVhsv(281, 75%, 69%)
CMYKcmyk(23.4%, 75.4%, 0%, 31.4%)
CIE-LABlab(37.65, 58.17, -52.50)
CIE-LCHlch(37.65, 78.36, 317.93°)
OKLaboklab(48.85% 0.1372 -0.1484)
OKLCHoklch(48.85% 0.202 312.7)
XYZxyz(18.4319, 9.8918, 41.4875)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BAF #54AF2B
analogous
#442BAF #862BAF #AF2B96
triadic
#862BAF #AF862B #2BAF86
tetradic
#862BAF #AF442B #54AF2B #2B96AF
square
#862BAF #AF442B #54AF2B #2B96AF
split-complementary
#862BAF #96AF2B #2BAF44
monochromatic
#3B134D #601F7E #862BAF #A646D1 #BE77DE

Accessibility & contrast

On white

7.05
#862BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#862BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862BAF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BAF#FFFFFF#000000##FFFFFF
##862BAF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#81496B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #862baf;
/* rgb */ color: rgb(134, 43, 175);
/* oklch */ color: oklch(48.8% 0.202 312.7);
Tailwind
colors: {
  custom: {
    50: '#ae6ec8',
    500: '#862baf',
    950: '#000000',
  },
}
SCSS
$custom: #862baf;
$custom-light: #ae6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#862baf",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 281.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48847,
    "c": 0.20213,
    "h": 312.7
  },
  "luminance": 0.09891
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #862BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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