#7D2793#7D2793

#7D2793 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.178 H 318.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7D2793
RGBrgb(125, 39, 147)
HSLhsl(288, 58%, 36%)
HSVhsv(288, 73%, 58%)
CMYKcmyk(15%, 73.5%, 0%, 42.4%)
CIE-LABlab(33.81, 52.14, -41.85)
CIE-LCHlch(33.81, 66.86, 321.25°)
OKLaboklab(45.24% 0.1331 -0.1175)
OKLCHoklch(45.24% 0.178 318.6)
XYZxyz(14.4487, 7.9183, 28.3654)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2793 #3D9327
analogous
#472793 #7D2793 #932773
triadic
#7D2793 #937D27 #27937D
tetradic
#7D2793 #934727 #3D9327 #277393
square
#7D2793 #934727 #3D9327 #277393
split-complementary
#7D2793 #739327 #279347
monochromatic
#2B0D32 #541A63 #7D2793 #A634C3 #BD60D5

Accessibility & contrast

On white

8.13
#7D2793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D2793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2793
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2793#FFFFFF#000000##FFFFFF
##7D27931.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#2D5291
Tritanopia (blue-blind)
#7D3C5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2793;
/* rgb */ color: rgb(125, 39, 147);
/* oklch */ color: oklch(45.2% 0.178 318.6);
Tailwind
colors: {
  custom: {
    50: '#a66ab3',
    500: '#7d2793',
    950: '#000000',
  },
}
SCSS
$custom: #7d2793;
$custom-light: #a66ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2793",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 287.778,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.17752,
    "h": 318.6
  },
  "luminance": 0.07918
}

Semantic roles & 50–950 ramp

primary
#7D2793
secondary
#6FBA5C
accent
#E14766
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2793

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

Preview Lab → · Contrast checker → · Palette generator →

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