#862F7E#862F7E

#862F7E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.1% C 0.153 H 331.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#862F7E
RGBrgb(134, 47, 126)
HSLhsl(306, 48%, 35%)
HSVhsv(306, 65%, 53%)
CMYKcmyk(0%, 64.9%, 6%, 47.5%)
CIE-LABlab(35.22, 47.09, -26.55)
CIE-LCHlch(35.22, 54.06, 330.58°)
OKLaboklab(46.14% 0.1344 -0.0728)
OKLCHoklch(46.14% 0.153 331.6)
XYZxyz(14.6139, 8.6088, 20.6266)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#862F7E #2F8637
analogous
#622F86 #862F7E #862F52
triadic
#862F7E #7E862F #2F7E86
tetradic
#862F7E #86622F #2F8637 #2F5286
square
#862F7E #86622F #2F8637 #2F5286
split-complementary
#862F7E #52862F #2F8662
monochromatic
#2B0F29 #591F53 #862F7E #B33FA9 #C966C0

Accessibility & contrast

On white

7.72
#862F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#862F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #862F7E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##862F7E#FFFFFF#000000##FFFFFF
##862F7E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#48577C
Tritanopia (blue-blind)
#8B3752
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #862f7e;
/* rgb */ color: rgb(134, 47, 126);
/* oklch */ color: oklch(46.1% 0.153 331.6);
Tailwind
colors: {
  custom: {
    50: '#ac6ea3',
    500: '#862f7e',
    950: '#000000',
  },
}
SCSS
$custom: #862f7e;
$custom-light: #ac6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#862f7e",
  "rgb": {
    "r": 134,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 305.517,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46143,
    "c": 0.1529,
    "h": 331.6
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#862F7E
secondary
#60B068
accent
#D85D50
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #862F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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