#7D28AD#7D28AD

#7D28AD is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.201 H 309.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7D28AD
RGBrgb(125, 40, 173)
HSLhsl(278, 62%, 42%)
HSVhsv(278, 77%, 68%)
CMYKcmyk(27.7%, 76.9%, 0%, 32.2%)
CIE-LABlab(35.78, 57.17, -54.39)
CIE-LCHlch(35.78, 78.91, 316.43°)
OKLaboklab(47.21% 0.1283 -0.1543)
OKLCHoklch(47.21% 0.201 309.8)
XYZxyz(16.7576, 8.8950, 40.3612)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D28AD #58AD28
analogous
#3B28AD #7D28AD #AD289B
triadic
#7D28AD #AD7D28 #28AD7D
tetradic
#7D28AD #AD3B28 #58AD28 #289BAD
square
#7D28AD #AD3B28 #58AD28 #289BAD
split-complementary
#7D28AD #9BAD28 #28AD3B
monochromatic
#35114A #591D7B #7D28AD #9E3FD3 #B771DE

Accessibility & contrast

On white

7.56
#7D28AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7D28AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D28AD
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D28AD#FFFFFF#000000##FFFFFF
##7D28AD1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#764869
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d28ad;
/* rgb */ color: rgb(125, 40, 173);
/* oklch */ color: oklch(47.2% 0.201 309.8);
Tailwind
colors: {
  custom: {
    50: '#a76bc6',
    500: '#7d28ad',
    950: '#000000',
  },
}
SCSS
$custom: #7d28ad;
$custom-light: #a76bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d28ad",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 278.346,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.20067,
    "h": 309.8
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#7D28AD
secondary
#8CC56C
accent
#E6427D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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