#862F93#862F93

#862F93 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.171 H 322.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#862F93
RGBrgb(134, 47, 147)
HSLhsl(292, 52%, 38%)
HSVhsv(292, 68%, 58%)
CMYKcmyk(8.8%, 68%, 0%, 42.4%)
CIE-LABlab(36.38, 50.94, -37.66)
CIE-LCHlch(36.38, 63.35, 323.53°)
OKLaboklab(47.36% 0.1355 -0.105)
OKLCHoklch(47.36% 0.171 322.2)
XYZxyz(16.1139, 9.2088, 28.5268)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F93 #3C932F
analogous
#542F93 #862F93 #932F6E
triadic
#862F93 #93862F #2F9386
tetradic
#862F93 #93542F #3C932F #2F6E93
square
#862F93 #93542F #3C932F #2F6E93
split-complementary
#862F93 #6E932F #2F9354
monochromatic
#311136 #5C2065 #862F93 #B03EC1 #C36CD0

Accessibility & contrast

On white

7.39
#862F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#862F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F93
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F93#FFFFFF#000000##FFFFFF
##862F931.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134F96
Deuteranopia (green-blind)
#3C5991
Tritanopia (blue-blind)
#88405D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #862f93;
/* rgb */ color: rgb(134, 47, 147);
/* oklch */ color: oklch(47.4% 0.171 322.2);
Tailwind
colors: {
  custom: {
    50: '#ac6fb3',
    500: '#862f93',
    950: '#000000',
  },
}
SCSS
$custom: #862f93;
$custom-light: #ac6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#862f93",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 292.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47361,
    "c": 0.17143,
    "h": 322.2
  },
  "luminance": 0.09208
}

Semantic roles & 50–950 ramp

primary
#862F93
secondary
#71B766
accent
#DB4D5F
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862F93

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

Preview Lab → · Contrast checker → · Palette generator →

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