#862D93#862D93

#862D93 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.174 H 322.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#862D93
RGBrgb(134, 45, 147)
HSLhsl(292, 53%, 38%)
HSVhsv(292, 69%, 58%)
CMYKcmyk(8.8%, 69.4%, 0%, 42.4%)
CIE-LABlab(36.09, 51.78, -38.13)
CIE-LCHlch(36.09, 64.30, 323.63°)
OKLaboklab(47.15% 0.1378 -0.1064)
OKLCHoklch(47.15% 0.174 322.3)
XYZxyz(16.0358, 9.0526, 28.5008)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862D93 #3A932D
analogous
#532D93 #862D93 #932D6D
triadic
#862D93 #93862D #2D9386
tetradic
#862D93 #93532D #3A932D #2D6D93
square
#862D93 #93532D #3A932D #2D6D93
split-complementary
#862D93 #6D932D #2D9353
monochromatic
#311035 #5B1F64 #862D93 #B13BC2 #C469D1

Accessibility & contrast

On white

7.47
#862D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#862D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862D93
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862D93#FFFFFF#000000##FFFFFF
##862D931.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E96
Deuteranopia (green-blind)
#3B5890
Tritanopia (blue-blind)
#883E5C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862d93;
/* rgb */ color: rgb(134, 45, 147);
/* oklch */ color: oklch(47.1% 0.174 322.3);
Tailwind
colors: {
  custom: {
    50: '#ac6eb3',
    500: '#862d93',
    950: '#000000',
  },
}
SCSS
$custom: #862d93;
$custom-light: #ac6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#862d93",
  "rgb": {
    "r": 134,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 292.353,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.17406,
    "h": 322.3
  },
  "luminance": 0.09052
}

Semantic roles & 50–950 ramp

primary
#862D93
secondary
#6FB864
accent
#DD4B5E
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862D93

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

Preview Lab → · Contrast checker → · Palette generator →

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