#7D279C#7D279C

#7D279C is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.186 H 315.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7D279C
RGBrgb(125, 39, 156)
HSLhsl(284, 60%, 38%)
HSVhsv(284, 75%, 61%)
CMYKcmyk(19.9%, 75%, 0%, 38.8%)
CIE-LABlab(34.42, 53.96, -46.36)
CIE-LCHlch(34.42, 71.14, 319.33°)
OKLaboklab(45.86% 0.1321 -0.1307)
OKLCHoklch(45.86% 0.186 315.3)
XYZxyz(15.1827, 8.2119, 32.2313)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D279C #469C27
analogous
#43279C #7D279C #9C2780
triadic
#7D279C #9C7D27 #279C7D
tetradic
#7D279C #9C4327 #469C27 #27809C
square
#7D279C #9C4327 #469C27 #27809C
split-complementary
#7D279C #809C27 #279C43
monochromatic
#2F0F3A #561B6B #7D279C #A434CC #BA65D8

Accessibility & contrast

On white

7.95
#7D279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D279C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D279C#FFFFFF#000000##FFFFFF
##7D279C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#235399
Tritanopia (blue-blind)
#7B4060
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d279c;
/* rgb */ color: rgb(125, 39, 156);
/* oklch */ color: oklch(45.9% 0.186 315.3);
Tailwind
colors: {
  custom: {
    50: '#a76aba',
    500: '#7d279c',
    950: '#000000',
  },
}
SCSS
$custom: #7d279c;
$custom-light: #a76aba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d279c",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 284.103,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45862,
    "c": 0.18582,
    "h": 315.3
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#7D279C
secondary
#79BE61
accent
#E3456F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D279C

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

Preview Lab → · Contrast checker → · Palette generator →

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