#7D279F#7D279F

#7D279F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.189 H 314.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7D279F
RGBrgb(125, 39, 159)
HSLhsl(283, 61%, 39%)
HSVhsv(283, 75%, 62%)
CMYKcmyk(21.4%, 75.5%, 0%, 37.6%)
CIE-LABlab(34.63, 54.59, -47.84)
CIE-LCHlch(34.63, 72.58, 318.77°)
OKLaboklab(46.08% 0.1317 -0.135)
OKLCHoklch(46.08% 0.189 314.3)
XYZxyz(15.4399, 8.3147, 33.5857)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D279F #499F27
analogous
#41279F #7D279F #9F2785
triadic
#7D279F #9F7D27 #279F7D
tetradic
#7D279F #9F4127 #499F27 #27859F
square
#7D279F #9F4127 #499F27 #27859F
split-complementary
#7D279F #859F27 #279F41
monochromatic
#300F3D #561B6E #7D279F #A336CE #B967DA

Accessibility & contrast

On white

7.89
#7D279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D279F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D279F#FFFFFF#000000##FFFFFF
##7D279F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#1F539C
Tritanopia (blue-blind)
#7A4261
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d279f;
/* rgb */ color: rgb(125, 39, 159);
/* oklch */ color: oklch(46.1% 0.189 314.3);
Tailwind
colors: {
  custom: {
    50: '#a76abc',
    500: '#7d279f',
    950: '#000000',
  },
}
SCSS
$custom: #7d279f;
$custom-light: #a76abc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d279f",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 283,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.18861,
    "h": 314.3
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#7D279F
secondary
#7DC062
accent
#E44471
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D279F

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

Preview Lab → · Contrast checker → · Palette generator →

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