#862F95#862F95

#862F95 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.173 H 321.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#862F95
RGBrgb(134, 47, 149)
HSLhsl(291, 52%, 38%)
HSVhsv(291, 68%, 58%)
CMYKcmyk(10.1%, 68.5%, 0%, 41.6%)
CIE-LABlab(36.50, 51.33, -38.69)
CIE-LCHlch(36.50, 64.28, 322.99°)
OKLaboklab(47.49% 0.1355 -0.108)
OKLCHoklch(47.49% 0.173 321.4)
XYZxyz(16.2722, 9.2721, 29.3605)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F95 #3E952F
analogous
#532F95 #862F95 #952F71
triadic
#862F95 #95862F #2F9586
tetradic
#862F95 #95532F #3E952F #2F7195
square
#862F95 #95532F #3E952F #2F7195
split-complementary
#862F95 #71952F #2F9553
monochromatic
#321238 #5C2066 #862F95 #AF3FC2 #C26DD1

Accessibility & contrast

On white

7.36
#862F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#862F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F95
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F95#FFFFFF#000000##FFFFFF
##862F951.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#3B5992
Tritanopia (blue-blind)
#87415E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #862f95;
/* rgb */ color: rgb(134, 47, 149);
/* oklch */ color: oklch(47.5% 0.173 321.4);
Tailwind
colors: {
  custom: {
    50: '#ac6fb5',
    500: '#862f95',
    950: '#000000',
  },
}
SCSS
$custom: #862f95;
$custom-light: #ac6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#862f95",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 291.176,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47486,
    "c": 0.17327,
    "h": 321.4
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#862F95
secondary
#73B867
accent
#DB4C61
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #862F95

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

Preview Lab → · Contrast checker → · Palette generator →

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