#7D26A3#7D26A3

#7D26A3 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.193 H 313.0°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7D26A3
RGBrgb(125, 38, 163)
HSLhsl(282, 62%, 39%)
HSVhsv(282, 77%, 64%)
CMYKcmyk(23.3%, 76.7%, 0%, 36.1%)
CIE-LABlab(34.78, 55.79, -50.01)
CIE-LCHlch(34.78, 74.92, 318.13°)
OKLaboklab(46.28% 0.132 -0.1414)
OKLCHoklch(46.28% 0.193 313)
XYZxyz(15.7602, 8.3910, 35.4327)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D26A3 #4CA326
analogous
#3F26A3 #7D26A3 #A3268B
triadic
#7D26A3 #A37D26 #26A37D
tetradic
#7D26A3 #A33F26 #4CA326 #268BA3
square
#7D26A3 #A33F26 #4CA326 #268BA3
split-complementary
#7D26A3 #8BA326 #26A33F
monochromatic
#310F40 #571A71 #7D26A3 #A136D0 #B868DC

Accessibility & contrast

On white

7.84
#7D26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7D26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D26A3
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D26A3#FFFFFF#000000##FFFFFF
##7D26A31.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#1754A0
Tritanopia (blue-blind)
#794363
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d26a3;
/* rgb */ color: rgb(125, 38, 163);
/* oklch */ color: oklch(46.3% 0.193 313.0);
Tailwind
colors: {
  custom: {
    50: '#a76abf',
    500: '#7d26a3',
    950: '#000000',
  },
}
SCSS
$custom: #7d26a3;
$custom-light: #a76abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d26a3",
  "rgb": {
    "r": 125,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 281.76,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46277,
    "c": 0.19342,
    "h": 313
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#7D26A3
secondary
#80C263
accent
#E54374
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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