#7F2280#7F2280

#7F2280 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.168 H 327.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#7F2280
RGBrgb(127, 34, 128)
HSLhsl(299, 58%, 32%)
HSVhsv(299, 73%, 50%)
CMYKcmyk(0.8%, 73.4%, 0%, 49.8%)
CIE-LABlab(32.29, 50.91, -32.50)
CIE-LCHlch(32.29, 60.40, 327.44°)
OKLaboklab(43.84% 0.1415 -0.0901)
OKLCHoklch(43.84% 0.168 327.5)
XYZxyz(13.2205, 7.2155, 21.1143)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2280 #238022
analogous
#502280 #7F2280 #802252
triadic
#7F2280 #807F22 #22807F
tetradic
#7F2280 #805022 #238022 #225280
square
#7F2280 #805022 #238022 #225280
split-complementary
#7F2280 #528022 #228050
monochromatic
#1F081F #4F1550 #7F2280 #AF2FB0 #CE4DD0

Accessibility & contrast

On white

8.60
#7F2280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7F2280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2280
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2280#FFFFFF#000000##FFFFFF
##7F22801.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4483
Deuteranopia (green-blind)
#3A507E
Tritanopia (blue-blind)
#83304F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f2280;
/* rgb */ color: rgb(127, 34, 128);
/* oklch */ color: oklch(43.8% 0.168 327.5);
Tailwind
colors: {
  custom: {
    50: '#a767a5',
    500: '#7f2280',
    950: '#000000',
  },
}
SCSS
$custom: #7f2280;
$custom-light: #a767a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2280",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 299.362,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43835,
    "c": 0.16774,
    "h": 327.5
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#7F2280
secondary
#4CB24B
accent
#E14748
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F2280

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

Preview Lab → · Contrast checker → · Palette generator →

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