#7D276F#7D276F

#7D276F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.146 H 335.0°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7D276F
RGBrgb(125, 39, 111)
HSLhsl(310, 52%, 32%)
HSVhsv(310, 69%, 49%)
CMYKcmyk(0%, 68.8%, 11.2%, 51%)
CIE-LABlab(31.71, 45.53, -22.71)
CIE-LCHlch(31.71, 50.88, 333.49°)
OKLaboklab(43.05% 0.1325 -0.0619)
OKLCHoklch(43.05% 0.146 335)
XYZxyz(12.0523, 6.9597, 15.7444)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D276F #277D35
analogous
#60277D #7D276F #7D2744
triadic
#7D276F #6F7D27 #276F7D
tetradic
#7D276F #7D6027 #277D35 #27447D
square
#7D276F #7D6027 #277D35 #27447D
split-complementary
#7D276F #447D27 #277D60
monochromatic
#200A1C #4E1846 #7D276F #AC3698 #CA55B7

Accessibility & contrast

On white

8.78
#7D276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D276F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D276F#FFFFFF#000000##FFFFFF
##7D276F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274271
Deuteranopia (green-blind)
#434F6D
Tritanopia (blue-blind)
#832D47
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d276f;
/* rgb */ color: rgb(125, 39, 111);
/* oklch */ color: oklch(43.1% 0.146 335.0);
Tailwind
colors: {
  custom: {
    50: '#a56898',
    500: '#7d276f',
    950: '#000000',
  },
}
SCSS
$custom: #7d276f;
$custom-light: #a56898;
$custom-dark: #000000;
JSON
{
  "hex": "#7d276f",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 309.767,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43051,
    "c": 0.14625,
    "h": 335
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#7D276F
secondary
#51AF60
accent
#DC634C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7D276F

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

Preview Lab → · Contrast checker → · Palette generator →

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