#7D2392#7D2392

#7D2392 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.181 H 319.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7D2392
RGBrgb(125, 35, 146)
HSLhsl(289, 61%, 35%)
HSVhsv(289, 76%, 57%)
CMYKcmyk(14.4%, 76%, 0%, 42.7%)
CIE-LABlab(33.22, 53.45, -42.19)
CIE-LCHlch(33.22, 68.10, 321.71°)
OKLaboklab(44.79% 0.1372 -0.1184)
OKLCHoklch(44.79% 0.181 319.2)
XYZxyz(14.2461, 7.6381, 27.9124)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2392 #389223
analogous
#462392 #7D2392 #92236F
triadic
#7D2392 #927D23 #23927D
tetradic
#7D2392 #924623 #389223 #236F92
square
#7D2392 #924623 #389223 #236F92
split-complementary
#7D2392 #6F9223 #239246
monochromatic
#280B2F #531761 #7D2392 #A72FC3 #BF58D7

Accessibility & contrast

On white

8.31
#7D2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7D2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2392
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2392#FFFFFF#000000##FFFFFF
##7D23921.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#2B5190
Tritanopia (blue-blind)
#7D3A59
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2392;
/* rgb */ color: rgb(125, 35, 146);
/* oklch */ color: oklch(44.8% 0.181 319.2);
Tailwind
colors: {
  custom: {
    50: '#a668b3',
    500: '#7d2392',
    950: '#000000',
  },
}
SCSS
$custom: #7d2392;
$custom-light: #a668b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2392",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 288.649,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44792,
    "c": 0.18122,
    "h": 319.2
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#7D2392
secondary
#69BB55
accent
#E44362
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2392

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

Preview Lab → · Contrast checker → · Palette generator →

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