#862B83#862B83

#862B83 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.163 H 329.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#862B83
RGBrgb(134, 43, 131)
HSLhsl(302, 51%, 35%)
HSVhsv(302, 68%, 53%)
CMYKcmyk(0%, 67.9%, 2.2%, 47.5%)
CIE-LABlab(34.87, 49.66, -30.21)
CIE-LCHlch(34.87, 58.13, 328.69°)
OKLaboklab(45.98% 0.1398 -0.0833)
OKLCHoklch(45.98% 0.163 329.2)
XYZxyz(14.7920, 8.4358, 22.3175)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B83 #2B862E
analogous
#5C2B86 #862B83 #862B56
triadic
#862B83 #83862B #2B8386
tetradic
#862B83 #865C2B #2B862E #2B5686
square
#862B83 #865C2B #2B862E #2B5686
split-complementary
#862B83 #56862B #2B865C
monochromatic
#290D28 #581C56 #862B83 #B43AB0 #CC60C8

Accessibility & contrast

On white

7.82
#862B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#862B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B83
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B83#FFFFFF#000000##FFFFFF
##862B831.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214A86
Deuteranopia (green-blind)
#435681
Tritanopia (blue-blind)
#8B3653
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #862b83;
/* rgb */ color: rgb(134, 43, 131);
/* oklch */ color: oklch(46.0% 0.163 329.2);
Tailwind
colors: {
  custom: {
    50: '#ac6ca7',
    500: '#862b83',
    950: '#000000',
  },
}
SCSS
$custom: #862b83;
$custom-light: #ac6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#862b83",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 301.978,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45978,
    "c": 0.16271,
    "h": 329.2
  },
  "luminance": 0.08435
}

Semantic roles & 50–950 ramp

primary
#862B83
secondary
#5BB25E
accent
#DB524D
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #862B83

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

Preview Lab → · Contrast checker → · Palette generator →

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