#7D26AC#7D26AC

#7D26AC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.202 H 310.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7D26AC
RGBrgb(125, 38, 172)
HSLhsl(279, 64%, 41%)
HSVhsv(279, 78%, 67%)
CMYKcmyk(27.3%, 77.9%, 0%, 32.5%)
CIE-LABlab(35.45, 57.70, -54.33)
CIE-LCHlch(35.45, 79.25, 316.72°)
OKLaboklab(46.96% 0.1303 -0.1541)
OKLCHoklch(46.96% 0.202 310.2)
XYZxyz(16.5955, 8.7251, 39.8316)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26AC #55AC26
analogous
#3A26AC #7D26AC #AC2698
triadic
#7D26AC #AC7D26 #26AC7D
tetradic
#7D26AC #AC3A26 #55AC26 #2698AC
square
#7D26AC #AC3A26 #55AC26 #2698AC
split-complementary
#7D26AC #98AC26 #26AC3A
monochromatic
#341048 #591B7A #7D26AC #9E3BD4 #B76EDF

Accessibility & contrast

On white

7.65
#7D26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7D26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D26AC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26AC#FFFFFF#000000##FFFFFF
##7D26AC1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#764768
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d26ac;
/* rgb */ color: rgb(125, 38, 172);
/* oklch */ color: oklch(47.0% 0.202 310.2);
Tailwind
colors: {
  custom: {
    50: '#a76bc6',
    500: '#7d26ac',
    950: '#000000',
  },
}
SCSS
$custom: #7d26ac;
$custom-light: #a76bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26ac",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 278.955,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46955,
    "c": 0.20177,
    "h": 310.2
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

primary
#7D26AC
secondary
#89C568
accent
#E7417B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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