#862B95#862B95

#862B95 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.178 H 321.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#862B95
RGBrgb(134, 43, 149)
HSLhsl(292, 55%, 38%)
HSVhsv(292, 71%, 58%)
CMYKcmyk(10.1%, 71.1%, 0%, 41.6%)
CIE-LABlab(35.92, 52.97, -39.62)
CIE-LCHlch(35.92, 66.15, 323.21°)
OKLaboklab(47.07% 0.1399 -0.1107)
OKLCHoklch(47.07% 0.178 321.7)
XYZxyz(16.1196, 8.9669, 29.3097)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862B95 #3A952B
analogous
#512B95 #862B95 #952B6F
triadic
#862B95 #95862B #2B9586
tetradic
#862B95 #95512B #3A952B #2B6F95
square
#862B95 #95512B #3A952B #2B6F95
split-complementary
#862B95 #6F952B #2B9551
monochromatic
#311036 #5B1D66 #862B95 #B139C4 #C467D3

Accessibility & contrast

On white

7.52
#862B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#862B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862B95
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862B95#FFFFFF#000000##FFFFFF
##862B951.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014E98
Deuteranopia (green-blind)
#385892
Tritanopia (blue-blind)
#873E5D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #862b95;
/* rgb */ color: rgb(134, 43, 149);
/* oklch */ color: oklch(47.1% 0.178 321.7);
Tailwind
colors: {
  custom: {
    50: '#ad6db5',
    500: '#862b95',
    950: '#000000',
  },
}
SCSS
$custom: #862b95;
$custom-light: #ad6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#862b95",
  "rgb": {
    "r": 134,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 291.509,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47068,
    "c": 0.1784,
    "h": 321.7
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#862B95
secondary
#6FBA62
accent
#DF495E
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #862B95

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

Preview Lab → · Contrast checker → · Palette generator →

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