#7D26A9#7D26A9

#7D26A9 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.199 H 311.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#7D26A9
RGBrgb(125, 38, 169)
HSLhsl(280, 63%, 41%)
HSVhsv(280, 78%, 66%)
CMYKcmyk(26%, 77.5%, 0%, 33.7%)
CIE-LABlab(35.22, 57.06, -52.90)
CIE-LCHlch(35.22, 77.81, 317.16°)
OKLaboklab(46.73% 0.1309 -0.1499)
OKLCHoklch(46.73% 0.199 311.1)
XYZxyz(16.3106, 8.6112, 38.3313)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26A9 #52A926
analogous
#3B26A9 #7D26A9 #A92693
triadic
#7D26A9 #A97D26 #26A97D
tetradic
#7D26A9 #A93B26 #52A926 #2693A9
square
#7D26A9 #A93B26 #52A926 #2693A9
split-complementary
#7D26A9 #93A926 #26A93B
monochromatic
#331045 #581B77 #7D26A9 #9F3AD3 #B76CDE

Accessibility & contrast

On white

7.71
#7D26A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#7D26A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D26A9
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26A9#FFFFFF#000000##FFFFFF
##7D26A91.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0554A6
Tritanopia (blue-blind)
#774667
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d26a9;
/* rgb */ color: rgb(125, 38, 169);
/* oklch */ color: oklch(46.7% 0.199 311.1);
Tailwind
colors: {
  custom: {
    50: '#a76ac3',
    500: '#7d26a9',
    950: '#000000',
  },
}
SCSS
$custom: #7d26a9;
$custom-light: #a76ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26a9",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 279.847,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46726,
    "c": 0.19898,
    "h": 311.1
  },
  "luminance": 0.08611
}

Semantic roles & 50–950 ramp

primary
#7D26A9
secondary
#86C467
accent
#E64179
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7D26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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