#7D25A2#7D25A2

#7D25A2 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.194 H 313.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#7D25A2
RGBrgb(125, 37, 162)
HSLhsl(282, 63%, 39%)
HSVhsv(282, 77%, 64%)
CMYKcmyk(22.8%, 77.2%, 0%, 36.5%)
CIE-LABlab(34.58, 55.95, -49.73)
CIE-LCHlch(34.58, 74.86, 318.37°)
OKLaboklab(46.11% 0.1331 -0.1406)
OKLCHoklch(46.11% 0.194 313.4)
XYZxyz(15.6395, 8.2922, 34.9521)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D25A2 #4AA225
analogous
#3F25A2 #7D25A2 #A22589
triadic
#7D25A2 #A27D25 #25A27D
tetradic
#7D25A2 #A23F25 #4AA225 #2589A2
square
#7D25A2 #A23F25 #4AA225 #2589A2
split-complementary
#7D25A2 #89A225 #25A23F
monochromatic
#300E3E #571A70 #7D25A2 #A234D1 #B965DC

Accessibility & contrast

On white

7.90
#7D25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D25A2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D25A2#FFFFFF#000000##FFFFFF
##7D25A21.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#18539F
Tritanopia (blue-blind)
#794263
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d25a2;
/* rgb */ color: rgb(125, 37, 162);
/* oklch */ color: oklch(46.1% 0.194 313.4);
Tailwind
colors: {
  custom: {
    50: '#a76abe',
    500: '#7d25a2',
    950: '#000000',
  },
}
SCSS
$custom: #7d25a2;
$custom-light: #a76abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7d25a2",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 282.24,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46113,
    "c": 0.19354,
    "h": 313.4
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#7D25A2
secondary
#7EC261
accent
#E64272
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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