#7D2593#7D2593

#7D2593 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.180 H 318.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7D2593
RGBrgb(125, 37, 147)
HSLhsl(288, 60%, 36%)
HSVhsv(288, 75%, 58%)
CMYKcmyk(15%, 74.8%, 0%, 42.4%)
CIE-LABlab(33.54, 52.91, -42.28)
CIE-LCHlch(33.54, 67.73, 321.37°)
OKLaboklab(45.04% 0.1351 -0.1187)
OKLCHoklch(45.04% 0.18 318.7)
XYZxyz(14.3848, 7.7904, 28.3441)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2593 #3B9325
analogous
#462593 #7D2593 #932572
triadic
#7D2593 #937D25 #25937D
tetradic
#7D2593 #934625 #3B9325 #257293
square
#7D2593 #934625 #3B9325 #257293
split-complementary
#7D2593 #729325 #259346
monochromatic
#2A0C31 #531962 #7D2593 #A731C4 #BE5CD6

Accessibility & contrast

On white

8.21
#7D2593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7D2593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2593
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2593#FFFFFF#000000##FFFFFF
##7D25931.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#7D3B5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2593;
/* rgb */ color: rgb(125, 37, 147);
/* oklch */ color: oklch(45.0% 0.180 318.7);
Tailwind
colors: {
  custom: {
    50: '#a669b3',
    500: '#7d2593',
    950: '#000000',
  },
}
SCSS
$custom: #7d2593;
$custom-light: #a669b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2593",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 147
  },
  "hsl": {
    "h": 288,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45044,
    "c": 0.17987,
    "h": 318.7
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#7D2593
secondary
#6CBB59
accent
#E34564
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2593

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

Preview Lab → · Contrast checker → · Palette generator →

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