#862783#862783

#862783 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.168 H 329.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#862783
RGBrgb(134, 39, 131)
HSLhsl(302, 55%, 34%)
HSVhsv(302, 71%, 53%)
CMYKcmyk(0%, 70.9%, 2.2%, 47.5%)
CIE-LABlab(34.31, 51.24, -31.09)
CIE-LCHlch(34.31, 59.94, 328.75°)
OKLaboklab(45.57% 0.1443 -0.0858)
OKLCHoklch(45.57% 0.168 329.2)
XYZxyz(14.6536, 8.1591, 22.2714)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862783 #27862A
analogous
#5A2786 #862783 #862754
triadic
#862783 #838627 #278386
tetradic
#862783 #865A27 #27862A #275486
square
#862783 #865A27 #27862A #275486
split-complementary
#862783 #548627 #27865A
monochromatic
#270B26 #571955 #862783 #B535B1 #CF59CB

Accessibility & contrast

On white

7.98
#862783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#862783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862783
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862783#FFFFFF#000000##FFFFFF
##8627831.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4986
Deuteranopia (green-blind)
#415581
Tritanopia (blue-blind)
#8B3352
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #862783;
/* rgb */ color: rgb(134, 39, 131);
/* oklch */ color: oklch(45.6% 0.168 329.2);
Tailwind
colors: {
  custom: {
    50: '#ac6aa7',
    500: '#862783',
    950: '#000000',
  },
}
SCSS
$custom: #862783;
$custom-light: #ac6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#862783",
  "rgb": {
    "r": 134,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 301.895,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.16788,
    "h": 329.2
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#862783
secondary
#55B458
accent
#DE4E4A
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #862783

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

Preview Lab → · Contrast checker → · Palette generator →

#862783 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva