#7D279D#7D279D

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

Color values

HEX#7D279D
RGBrgb(125, 39, 157)
HSLhsl(284, 60%, 38%)
HSVhsv(284, 75%, 62%)
CMYKcmyk(20.4%, 75.2%, 0%, 38.4%)
CIE-LABlab(34.49, 54.17, -46.85)
CIE-LCHlch(34.49, 71.62, 319.14°)
OKLaboklab(45.93% 0.132 -0.1321)
OKLCHoklch(45.93% 0.187 315)
XYZxyz(15.2678, 8.2459, 32.6791)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D279D #479D27
analogous
#42279D #7D279D #9D2782
triadic
#7D279D #9D7D27 #279D7D
tetradic
#7D279D #9D4227 #479D27 #27829D
square
#7D279D #9D4227 #479D27 #27829D
split-complementary
#7D279D #829D27 #279D42
monochromatic
#2F0F3B #561B6C #7D279D #A335CD #BA66D9

Accessibility & contrast

On white

7.93
#7D279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D279D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D279D#FFFFFF#000000##FFFFFF
##7D279D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#22539A
Tritanopia (blue-blind)
#7A4160
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d279d;
/* rgb */ color: rgb(125, 39, 157);
/* oklch */ color: oklch(45.9% 0.187 315.0);
Tailwind
colors: {
  custom: {
    50: '#a76abb',
    500: '#7d279d',
    950: '#000000',
  },
}
SCSS
$custom: #7d279d;
$custom-light: #a76abb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d279d",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 283.729,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45933,
    "c": 0.18675,
    "h": 315
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#7D279D
secondary
#7ABF61
accent
#E34470
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D279D

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

Preview Lab → · Contrast checker → · Palette generator →

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