#7D278F#7D278F

#7D278F is a dark, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.174 H 320.1°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7D278F
RGBrgb(125, 39, 143)
HSLhsl(290, 57%, 36%)
HSVhsv(290, 73%, 56%)
CMYKcmyk(12.6%, 72.7%, 0%, 43.9%)
CIE-LABlab(33.55, 51.35, -39.81)
CIE-LCHlch(33.55, 64.98, 322.21°)
OKLaboklab(44.97% 0.1334 -0.1115)
OKLCHoklch(44.97% 0.174 320.1)
XYZxyz(14.1403, 7.7949, 26.7410)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D278F #398F27
analogous
#49278F #7D278F #8F276D
triadic
#7D278F #8F7D27 #278F7D
tetradic
#7D278F #8F4927 #398F27 #276D8F
square
#7D278F #8F4927 #398F27 #276D8F
split-complementary
#7D278F #6D8F27 #278F49
monochromatic
#290D2F #531A5F #7D278F #A734BF #BF5DD3

Accessibility & contrast

On white

8.21
#7D278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7D278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D278F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D278F#FFFFFF#000000##FFFFFF
##7D278F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#7D3B58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d278f;
/* rgb */ color: rgb(125, 39, 143);
/* oklch */ color: oklch(45.0% 0.174 320.1);
Tailwind
colors: {
  custom: {
    50: '#a66ab0',
    500: '#7d278f',
    950: '#000000',
  },
}
SCSS
$custom: #7d278f;
$custom-light: #a66ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d278f",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 289.615,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44967,
    "c": 0.17388,
    "h": 320.1
  },
  "luminance": 0.07794
}

Semantic roles & 50–950 ramp

primary
#7D278F
secondary
#6AB85A
accent
#E04762
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D278F

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

Preview Lab → · Contrast checker → · Palette generator →

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