#862BA8#862BA8

#862BA8 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.196 H 314.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#862BA8
RGBrgb(134, 43, 168)
HSLhsl(284, 59%, 41%)
HSVhsv(284, 74%, 66%)
CMYKcmyk(20.2%, 74.4%, 0%, 34.1%)
CIE-LABlab(37.16, 56.73, -49.11)
CIE-LCHlch(37.16, 75.03, 319.12°)
OKLaboklab(48.35% 0.1382 -0.1385)
OKLCHoklch(48.35% 0.196 314.9)
XYZxyz(17.7621, 9.6239, 37.9601)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862BA8 #4DA82B
analogous
#482BA8 #862BA8 #A82B8C
triadic
#862BA8 #A8862B #2BA886
tetradic
#862BA8 #A8482B #4DA82B #2B8CA8
square
#862BA8 #A8482B #4DA82B #2B8CA8
split-complementary
#862BA8 #8CA82B #2BA848
monochromatic
#381247 #5F1F77 #862BA8 #A842CF #BF72DB

Accessibility & contrast

On white

7.18
#862BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#862BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862BA8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862BA8#FFFFFF#000000##FFFFFF
##862BA81.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#265AA5
Tritanopia (blue-blind)
#834667
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #862ba8;
/* rgb */ color: rgb(134, 43, 168);
/* oklch */ color: oklch(48.3% 0.196 314.9);
Tailwind
colors: {
  custom: {
    50: '#ad6ec3',
    500: '#862ba8',
    950: '#000000',
  },
}
SCSS
$custom: #862ba8;
$custom-light: #ad6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#862ba8",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 283.68,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48346,
    "c": 0.19566,
    "h": 314.9
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#862BA8
secondary
#84C26C
accent
#E24570
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110812
muted
#807B81

Preview Lab

Preview with #862BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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