#7D26A8#7D26A8

#7D26A8 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.198 H 311.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7D26A8
RGBrgb(125, 38, 168)
HSLhsl(280, 63%, 40%)
HSVhsv(280, 77%, 66%)
CMYKcmyk(25.6%, 77.4%, 0%, 34.1%)
CIE-LABlab(35.15, 56.84, -52.42)
CIE-LCHlch(35.15, 77.33, 317.32°)
OKLaboklab(46.65% 0.1311 -0.1485)
OKLCHoklch(46.65% 0.198 311.4)
XYZxyz(16.2171, 8.5738, 37.8388)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26A8 #51A826
analogous
#3C26A8 #7D26A8 #A82692
triadic
#7D26A8 #A87D26 #26A87D
tetradic
#7D26A8 #A83C26 #51A826 #2692A8
square
#7D26A8 #A83C26 #51A826 #2692A8
split-complementary
#7D26A8 #92A826 #26A83C
monochromatic
#330F44 #581B76 #7D26A8 #A039D2 #B86BDE

Accessibility & contrast

On white

7.74
#7D26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7D26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D26A8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26A8#FFFFFF#000000##FFFFFF
##7D26A81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0954A5
Tritanopia (blue-blind)
#774566
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d26a8;
/* rgb */ color: rgb(125, 38, 168);
/* oklch */ color: oklch(46.7% 0.198 311.4);
Tailwind
colors: {
  custom: {
    50: '#a76ac3',
    500: '#7d26a8',
    950: '#000000',
  },
}
SCSS
$custom: #7d26a8;
$custom-light: #a76ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26a8",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 280.154,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4665,
    "c": 0.19805,
    "h": 311.4
  },
  "luminance": 0.08573
}

Semantic roles & 50–950 ramp

primary
#7D26A8
secondary
#85C466
accent
#E64278
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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