#7D1275#7D1275

#7D1275 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.174 H 331.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7D1275
RGBrgb(125, 18, 117)
HSLhsl(304, 75%, 28%)
HSVhsv(304, 86%, 49%)
CMYKcmyk(0%, 85.6%, 6.4%, 51%)
CIE-LABlab(29.61, 53.44, -29.84)
CIE-LCHlch(29.61, 61.21, 330.82°)
OKLaboklab(41.64% 0.1532 -0.0823)
OKLCHoklch(41.64% 0.174 331.7)
XYZxyz(11.8847, 6.0780, 17.3734)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1275 #127D1A
analogous
#4F127D #7D1275 #7D123F
triadic
#7D1275 #757D12 #12757D
tetradic
#7D1275 #7D4F12 #127D1A #123F7D
square
#7D1275 #7D4F12 #127D1A #123F7D
split-complementary
#7D1275 #3F7D12 #127D4F
monochromatic
#1B0419 #480A43 #7D1275 #B21AA7 #E029D3

Accessibility & contrast

On white

9.48
#7D1275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D1275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1275
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1275#FFFFFF#000000##FFFFFF
##7D12751.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043C77
Deuteranopia (green-blind)
#384B73
Tritanopia (blue-blind)
#832245
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1275;
/* rgb */ color: rgb(125, 18, 117);
/* oklch */ color: oklch(41.6% 0.174 331.7);
Tailwind
colors: {
  custom: {
    50: '#a6609d',
    500: '#7d1275',
    950: '#000000',
  },
}
SCSS
$custom: #7d1275;
$custom-light: #a6609d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1275",
  "rgb": {
    "r": 125,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 304.486,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41642,
    "c": 0.17388,
    "h": 331.7
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#7D1275
secondary
#38B341
accent
#F14436
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D1275

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

Preview Lab → · Contrast checker → · Palette generator →

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