#7F2080#7F2080

#7F2080 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.170 H 327.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#7F2080
RGBrgb(127, 32, 128)
HSLhsl(299, 60%, 31%)
HSVhsv(299, 75%, 50%)
CMYKcmyk(0.8%, 75%, 0%, 49.8%)
CIE-LABlab(32.04, 51.62, -32.90)
CIE-LCHlch(32.04, 61.21, 327.49°)
OKLaboklab(43.66% 0.1435 -0.0912)
OKLCHoklch(43.66% 0.17 327.6)
XYZxyz(13.1650, 7.1045, 21.0958)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2080 #218020
analogous
#4F2080 #7F2080 #802051
triadic
#7F2080 #807F20 #20807F
tetradic
#7F2080 #804F20 #218020 #205180
square
#7F2080 #804F20 #218020 #205180
split-complementary
#7F2080 #518020 #20804F
monochromatic
#1E081E #4E144F #7F2080 #B02CB1 #D049D1

Accessibility & contrast

On white

8.67
#7F2080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F2080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2080
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2080#FFFFFF#000000##FFFFFF
##7F20801.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4483
Deuteranopia (green-blind)
#39507E
Tritanopia (blue-blind)
#832F4E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f2080;
/* rgb */ color: rgb(127, 32, 128);
/* oklch */ color: oklch(43.7% 0.170 327.6);
Tailwind
colors: {
  custom: {
    50: '#a766a5',
    500: '#7f2080',
    950: '#000000',
  },
}
SCSS
$custom: #7f2080;
$custom-light: #a766a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2080",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 299.375,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.17004,
    "h": 327.6
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#7F2080
secondary
#4AB349
accent
#E34546
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F2080

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

Preview Lab → · Contrast checker → · Palette generator →

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