#7D2E7B#7D2E7B

#7D2E7B is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.146 H 328.7°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7D2E7B
RGBrgb(125, 46, 123)
HSLhsl(302, 46%, 34%)
HSVhsv(302, 63%, 49%)
CMYKcmyk(0%, 63.2%, 1.6%, 51%)
CIE-LABlab(33.45, 44.55, -27.57)
CIE-LCHlch(33.45, 52.39, 328.25°)
OKLaboklab(44.51% 0.1249 -0.0759)
OKLCHoklch(44.51% 0.146 328.7)
XYZxyz(13.0094, 7.7449, 19.5447)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E7B #2E7D30
analogous
#572E7D #7D2E7B #7D2E53
triadic
#7D2E7B #7B7D2E #2E7B7D
tetradic
#7D2E7B #7D572E #2E7D30 #2E537D
square
#7D2E7B #7D572E #2E7D30 #2E537D
split-complementary
#7D2E7B #537D2E #2E7D57
monochromatic
#240D23 #501E4F #7D2E7B #AA3EA7 #C561C2

Accessibility & contrast

On white

8.24
#7D2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E7B
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E7B#FFFFFF#000000##FFFFFF
##7D2E7B1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26487D
Deuteranopia (green-blind)
#425279
Tritanopia (blue-blind)
#813750
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2e7b;
/* rgb */ color: rgb(125, 46, 123);
/* oklch */ color: oklch(44.5% 0.146 328.7);
Tailwind
colors: {
  custom: {
    50: '#a56ca1',
    500: '#7d2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e7b;
$custom-light: #a56ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e7b",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 301.519,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44512,
    "c": 0.14621,
    "h": 328.7
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#7D2E7B
secondary
#5BAB5D
accent
#D65552
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070F
muted
#7F7A7E

Preview Lab

Preview with #7D2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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