#7D279A#7D279A

#7D279A is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.184 H 316.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7D279A
RGBrgb(125, 39, 154)
HSLhsl(285, 60%, 38%)
HSVhsv(285, 75%, 60%)
CMYKcmyk(18.8%, 74.7%, 0%, 39.6%)
CIE-LABlab(34.28, 53.56, -45.37)
CIE-LCHlch(34.28, 70.19, 319.73°)
OKLaboklab(45.72% 0.1324 -0.1278)
OKLCHoklch(45.72% 0.184 316)
XYZxyz(15.0148, 8.1447, 31.3468)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D279A #449A27
analogous
#44279A #7D279A #9A277D
triadic
#7D279A #9A7D27 #279A7D
tetradic
#7D279A #9A4427 #449A27 #277D9A
square
#7D279A #9A4427 #449A27 #277D9A
split-complementary
#7D279A #7D9A27 #279A44
monochromatic
#2E0E38 #551B69 #7D279A #A533CB #BA64D8

Accessibility & contrast

On white

7.99
#7D279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7D279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D279A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D279A#FFFFFF#000000##FFFFFF
##7D279A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#7B405F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d279a;
/* rgb */ color: rgb(125, 39, 154);
/* oklch */ color: oklch(45.7% 0.184 316.0);
Tailwind
colors: {
  custom: {
    50: '#a66ab8',
    500: '#7d279a',
    950: '#000000',
  },
}
SCSS
$custom: #7d279a;
$custom-light: #a66ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d279a",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 284.87,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.18397,
    "h": 316
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#7D279A
secondary
#77BD5F
accent
#E3456D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D279A

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

Preview Lab → · Contrast checker → · Palette generator →

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