#7D2E9A#7D2E9A

#7D2E9A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.175 H 315.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7D2E9A
RGBrgb(125, 46, 154)
HSLhsl(284, 54%, 39%)
HSVhsv(284, 70%, 60%)
CMYKcmyk(18.8%, 70.1%, 0%, 39.6%)
CIE-LABlab(35.30, 50.68, -43.74)
CIE-LCHlch(35.30, 66.95, 319.21°)
OKLaboklab(46.44% 0.125 -0.123)
OKLCHoklch(46.44% 0.175 315.5)
XYZxyz(15.2662, 8.6476, 31.4306)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E9A #4B9A2E
analogous
#472E9A #7D2E9A #9A2E81
triadic
#7D2E9A #9A7D2E #2E9A7D
tetradic
#7D2E9A #9A472E #4B9A2E #2E819A
square
#7D2E9A #9A472E #4B9A2E #2E819A
split-complementary
#7D2E9A #819A2E #2E9A47
monochromatic
#31123C #57206B #7D2E9A #A23FC6 #B96FD4

Accessibility & contrast

On white

7.69
#7D2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7D2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E9A
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E9A#FFFFFF#000000##FFFFFF
##7D2E9A1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#2C5598
Tritanopia (blue-blind)
#7B4460
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d2e9a;
/* rgb */ color: rgb(125, 46, 154);
/* oklch */ color: oklch(46.4% 0.175 315.5);
Tailwind
colors: {
  custom: {
    50: '#a66eb8',
    500: '#7d2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e9a;
$custom-light: #a66eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e9a",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 283.889,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.17542,
    "h": 315.5
  },
  "luminance": 0.08647
}

Semantic roles & 50–950 ramp

primary
#7D2E9A
secondary
#7FBB69
accent
#DD4A72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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