#7D2088#7D2088

#7D2088 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.176 H 323.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7D2088
RGBrgb(125, 32, 136)
HSLhsl(294, 62%, 33%)
HSVhsv(294, 76%, 53%)
CMYKcmyk(8.1%, 76.5%, 0%, 46.7%)
CIE-LABlab(32.19, 52.61, -37.66)
CIE-LCHlch(32.19, 64.70, 324.40°)
OKLaboklab(43.86% 0.1409 -0.1052)
OKLCHoklch(43.86% 0.176 323.3)
XYZxyz(13.4175, 7.1714, 23.9653)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2088 #2B8820
analogous
#492088 #7D2088 #88205F
triadic
#7D2088 #887D20 #20887D
tetradic
#7D2088 #884920 #2B8820 #205F88
square
#7D2088 #884920 #2B8820 #205F88
split-complementary
#7D2088 #5F8820 #208849
monochromatic
#220925 #4F1456 #7D2088 #AB2CBA #C74DD5

Accessibility & contrast

On white

8.63
#7D2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7D2088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2088
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2088#FFFFFF#000000##FFFFFF
##7D20881.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#324F86
Tritanopia (blue-blind)
#7F3353
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2088;
/* rgb */ color: rgb(125, 32, 136);
/* oklch */ color: oklch(43.9% 0.176 323.3);
Tailwind
colors: {
  custom: {
    50: '#a666ab',
    500: '#7d2088',
    950: '#000000',
  },
}
SCSS
$custom: #7d2088;
$custom-light: #a666ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2088",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 293.654,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43856,
    "c": 0.17579,
    "h": 323.3
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#7D2088
secondary
#57B84C
accent
#E54354
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2088

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

Preview Lab → · Contrast checker → · Palette generator →

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