#7D278E#7D278E

#7D278E is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.173 H 320.5°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7D278E
RGBrgb(125, 39, 142)
HSLhsl(290, 57%, 35%)
HSVhsv(290, 73%, 56%)
CMYKcmyk(12%, 72.5%, 0%, 44.3%)
CIE-LABlab(33.49, 51.16, -39.30)
CIE-LCHlch(33.49, 64.51, 322.47°)
OKLaboklab(44.9% 0.1335 -0.11)
OKLCHoklch(44.9% 0.173 320.5)
XYZxyz(14.0649, 7.7647, 26.3438)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D278E #388E27
analogous
#49278E #7D278E #8E276B
triadic
#7D278E #8E7D27 #278E7D
tetradic
#7D278E #8E4927 #388E27 #276B8E
square
#7D278E #8E4927 #388E27 #276B8E
split-complementary
#7D278E #6B8E27 #278E49
monochromatic
#280D2E #531A5E #7D278E #A734BE #BF5DD2

Accessibility & contrast

On white

8.23
#7D278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D278E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D278E#FFFFFF#000000##FFFFFF
##7D278E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#31528C
Tritanopia (blue-blind)
#7E3A58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d278e;
/* rgb */ color: rgb(125, 39, 142);
/* oklch */ color: oklch(44.9% 0.173 320.5);
Tailwind
colors: {
  custom: {
    50: '#a66ab0',
    500: '#7d278e',
    950: '#000000',
  },
}
SCSS
$custom: #7d278e;
$custom-light: #a66ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d278e",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 290.097,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44901,
    "c": 0.17297,
    "h": 320.5
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#7D278E
secondary
#69B859
accent
#E04861
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D278E

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

Preview Lab → · Contrast checker → · Palette generator →

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