#7D2380#7D2380

#7D2380 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.166 H 326.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7D2380
RGBrgb(125, 35, 128)
HSLhsl(298, 57%, 32%)
HSVhsv(298, 73%, 50%)
CMYKcmyk(2.3%, 72.7%, 0%, 49.8%)
CIE-LABlab(32.08, 50.07, -32.86)
CIE-LCHlch(32.08, 59.88, 326.73°)
OKLaboklab(43.62% 0.1382 -0.0912)
OKLCHoklch(43.62% 0.166 326.6)
XYZxyz(12.9545, 7.1214, 21.1101)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2380 #268023
analogous
#4F2380 #7D2380 #802354
triadic
#7D2380 #807D23 #23807D
tetradic
#7D2380 #804F23 #268023 #235480
square
#7D2380 #804F23 #268023 #235480
split-complementary
#7D2380 #548023 #23804F
monochromatic
#1F0920 #4E1650 #7D2380 #AC30B0 #CB4FCF

Accessibility & contrast

On white

8.66
#7D2380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7D2380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2380
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2380#FFFFFF#000000##FFFFFF
##7D23801.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4483
Deuteranopia (green-blind)
#394F7E
Tritanopia (blue-blind)
#80324F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2380;
/* rgb */ color: rgb(125, 35, 128);
/* oklch */ color: oklch(43.6% 0.166 326.6);
Tailwind
colors: {
  custom: {
    50: '#a667a5',
    500: '#7d2380',
    950: '#000000',
  },
}
SCSS
$custom: #7d2380;
$custom-light: #a667a5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2380",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 298.065,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43617,
    "c": 0.16552,
    "h": 326.6
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#7D2380
secondary
#50B24D
accent
#E0474C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D2380

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

Preview Lab → · Contrast checker → · Palette generator →

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