#7E2D73#7E2D73

#7E2D73 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.141 H 333.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7E2D73
RGBrgb(126, 45, 115)
HSLhsl(308, 47%, 34%)
HSVhsv(308, 64%, 49%)
CMYKcmyk(0%, 64.3%, 8.7%, 50.6%)
CIE-LABlab(33.03, 43.86, -23.18)
CIE-LCHlch(33.03, 49.61, 332.15°)
OKLaboklab(44.11% 0.1265 -0.0633)
OKLCHoklch(44.11% 0.141 333.4)
XYZxyz(12.6371, 7.5512, 17.0083)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D73 #2D7E38
analogous
#602D7E #7E2D73 #7E2D4A
triadic
#7E2D73 #737E2D #2D737E
tetradic
#7E2D73 #7E602D #2D7E38 #2D4A7E
square
#7E2D73 #7E602D #2D7E38 #2D4A7E
split-complementary
#7E2D73 #4A7E2D #2D7E60
monochromatic
#240D21 #511D4A #7E2D73 #AB3D9C #C65FB8

Accessibility & contrast

On white

8.37
#7E2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7E2D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D73
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D73#FFFFFF#000000##FFFFFF
##7E2D731.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#84334B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7e2d73;
/* rgb */ color: rgb(126, 45, 115);
/* oklch */ color: oklch(44.1% 0.141 333.4);
Tailwind
colors: {
  custom: {
    50: '#a66c9b',
    500: '#7e2d73',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d73;
$custom-light: #a66c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d73",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 308.148,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.14144,
    "h": 333.4
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#7E2D73
secondary
#5AAC66
accent
#D76351
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2D73

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

Preview Lab → · Contrast checker → · Palette generator →

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