#7D2087#7D2087

#7D2087 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.175 H 323.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7D2087
RGBrgb(125, 32, 135)
HSLhsl(294, 62%, 33%)
HSVhsv(294, 76%, 53%)
CMYKcmyk(7.4%, 76.3%, 0%, 47.1%)
CIE-LABlab(32.13, 52.43, -37.14)
CIE-LCHlch(32.13, 64.25, 324.68°)
OKLaboklab(43.79% 0.1409 -0.1036)
OKLCHoklch(43.79% 0.175 323.7)
XYZxyz(13.3467, 7.1431, 23.5927)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2087 #2A8720
analogous
#4A2087 #7D2087 #87205D
triadic
#7D2087 #877D20 #20877D
tetradic
#7D2087 #874A20 #2A8720 #205D87
square
#7D2087 #874A20 #2A8720 #205D87
split-complementary
#7D2087 #5D8720 #20874A
monochromatic
#210924 #4F1456 #7D2087 #AB2CB8 #C84DD5

Accessibility & contrast

On white

8.65
#7D2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2087
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2087#FFFFFF#000000##FFFFFF
##7D20871.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#334F85
Tritanopia (blue-blind)
#7F3352
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2087;
/* rgb */ color: rgb(125, 32, 135);
/* oklch */ color: oklch(43.8% 0.175 323.7);
Tailwind
colors: {
  custom: {
    50: '#a666aa',
    500: '#7d2087',
    950: '#000000',
  },
}
SCSS
$custom: #7d2087;
$custom-light: #a666aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2087",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 294.175,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4379,
    "c": 0.17494,
    "h": 323.7
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#7D2087
secondary
#56B84B
accent
#E54353
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2087

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

Preview Lab → · Contrast checker → · Palette generator →

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