#862F92#862F92

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

Color values

HEX#862F92
RGBrgb(134, 47, 146)
HSLhsl(293, 51%, 38%)
HSVhsv(293, 68%, 57%)
CMYKcmyk(8.2%, 67.8%, 0%, 42.7%)
CIE-LABlab(36.32, 50.75, -37.14)
CIE-LCHlch(36.32, 62.89, 323.80°)
OKLaboklab(47.3% 0.1355 -0.1035)
OKLCHoklch(47.3% 0.171 322.6)
XYZxyz(16.0358, 9.1776, 28.1154)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F92 #3B922F
analogous
#542F92 #862F92 #922F6C
triadic
#862F92 #92862F #2F9286
tetradic
#862F92 #92542F #3B922F #2F6C92
square
#862F92 #92542F #3B922F #2F6C92
split-complementary
#862F92 #6C922F #2F9254
monochromatic
#311135 #5C2064 #862F92 #B03EC0 #C46CD0

Accessibility & contrast

On white

7.41
#862F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #862F92
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F92#FFFFFF#000000##FFFFFF
##862F921.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F95
Deuteranopia (green-blind)
#3D5990
Tritanopia (blue-blind)
#883F5C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #862f92;
/* rgb */ color: rgb(134, 47, 146);
/* oklch */ color: oklch(47.3% 0.171 322.6);
Tailwind
colors: {
  custom: {
    50: '#ac6fb2',
    500: '#862f92',
    950: '#000000',
  },
}
SCSS
$custom: #862f92;
$custom-light: #ac6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#862f92",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 292.727,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47299,
    "c": 0.17052,
    "h": 322.6
  },
  "luminance": 0.09177
}

Semantic roles & 50–950 ramp

primary
#862F92
secondary
#70B766
accent
#DB4D5E
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862F92

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

Preview Lab → · Contrast checker → · Palette generator →

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