#7D2799#7D2799

#7D2799 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.183 H 316.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7D2799
RGBrgb(125, 39, 153)
HSLhsl(285, 59%, 38%)
HSVhsv(285, 75%, 60%)
CMYKcmyk(18.3%, 74.5%, 0%, 40%)
CIE-LABlab(34.21, 53.35, -44.87)
CIE-LCHlch(34.21, 69.71, 319.94°)
OKLaboklab(45.65% 0.1325 -0.1263)
OKLCHoklch(45.65% 0.183 316.4)
XYZxyz(14.9319, 8.1115, 30.9100)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2799 #439927
analogous
#442799 #7D2799 #99277C
triadic
#7D2799 #997D27 #27997D
tetradic
#7D2799 #994427 #439927 #277C99
square
#7D2799 #994427 #439927 #277C99
split-complementary
#7D2799 #7C9927 #279944
monochromatic
#2D0E37 #551B68 #7D2799 #A533CA #BB63D7

Accessibility & contrast

On white

8.01
#7D2799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D2799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2799
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2799#FFFFFF#000000##FFFFFF
##7D27991.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#275396
Tritanopia (blue-blind)
#7B3F5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2799;
/* rgb */ color: rgb(125, 39, 153);
/* oklch */ color: oklch(45.6% 0.183 316.4);
Tailwind
colors: {
  custom: {
    50: '#a66ab8',
    500: '#7d2799',
    950: '#000000',
  },
}
SCSS
$custom: #7d2799;
$custom-light: #a66ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2799",
  "rgb": {
    "r": 125,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 285.263,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4565,
    "c": 0.18305,
    "h": 316.4
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#7D2799
secondary
#76BD5F
accent
#E3456C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2799

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

Preview Lab → · Contrast checker → · Palette generator →

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