#7D278A#7D278A

#7D278A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.169 H 322.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7D278A
RGBrgb(125, 39, 138)
HSLhsl(292, 56%, 35%)
HSVhsv(292, 72%, 54%)
CMYKcmyk(9.4%, 71.7%, 0%, 45.9%)
CIE-LABlab(33.24, 50.38, -37.24)
CIE-LCHlch(33.24, 62.65, 323.53°)
OKLaboklab(44.64% 0.1337 -0.104)
OKLCHoklch(44.64% 0.169 322.1)
XYZxyz(13.7699, 7.6468, 24.7905)
Luminance0.0765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D278A #348A27
analogous
#4B278A #7D278A #8A2766
triadic
#7D278A #8A7D27 #278A7D
tetradic
#7D278A #8A4B27 #348A27 #27668A
square
#7D278A #8A4B27 #348A27 #27668A
split-complementary
#7D278A #668A27 #278A4B
monochromatic
#270C2B #521A5A #7D278A #A834BA #C15BD1

Accessibility & contrast

On white

8.30
#7D278A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D278A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D278A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D278A#FFFFFF#000000##FFFFFF
##7D278A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02488D
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#7F3956
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d278a;
/* rgb */ color: rgb(125, 39, 138);
/* oklch */ color: oklch(44.6% 0.169 322.1);
Tailwind
colors: {
  custom: {
    50: '#a669ad',
    500: '#7d278a',
    950: '#000000',
  },
}
SCSS
$custom: #7d278a;
$custom-light: #a669ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d278a",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 292.121,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4464,
    "c": 0.16935,
    "h": 322.1
  },
  "luminance": 0.07646
}

Semantic roles & 50–950 ramp

primary
#7D278A
secondary
#64B657
accent
#DF495C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D278A

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

Preview Lab → · Contrast checker → · Palette generator →

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