#7F2086#7F2086

#7F2086 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.175 H 325.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#7F2086
RGBrgb(127, 32, 134)
HSLhsl(296, 61%, 33%)
HSVhsv(296, 76%, 53%)
CMYKcmyk(5.2%, 76.1%, 0%, 47.5%)
CIE-LABlab(32.41, 52.68, -36.06)
CIE-LCHlch(32.41, 63.84, 325.61°)
OKLaboklab(44.03% 0.1434 -0.1004)
OKLCHoklch(44.03% 0.175 325)
XYZxyz(13.5717, 7.2672, 23.2375)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2086 #278620
analogous
#4C2086 #7F2086 #86205A
triadic
#7F2086 #867F20 #20867F
tetradic
#7F2086 #864C20 #278620 #205A86
square
#7F2086 #864C20 #278620 #205A86
split-complementary
#7F2086 #5A8620 #20864C
monochromatic
#210823 #501455 #7F2086 #AE2CB7 #CB4CD4

Accessibility & contrast

On white

8.56
#7F2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7F2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2086
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2086#FFFFFF#000000##FFFFFF
##7F20861.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#823252
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2086;
/* rgb */ color: rgb(127, 32, 134);
/* oklch */ color: oklch(44.0% 0.175 325.0);
Tailwind
colors: {
  custom: {
    50: '#a866aa',
    500: '#7f2086',
    950: '#000000',
  },
}
SCSS
$custom: #7f2086;
$custom-light: #a866aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2086",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 295.882,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.17502,
    "h": 325
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#7F2086
secondary
#52B74B
accent
#E5434E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7F2086

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

Preview Lab → · Contrast checker → · Palette generator →

#7F2086 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva