#7E2575#7E2575

#7E2575 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.154 H 332.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7E2575
RGBrgb(126, 37, 117)
HSLhsl(306, 55%, 32%)
HSVhsv(306, 71%, 49%)
CMYKcmyk(0%, 70.6%, 7.1%, 50.6%)
CIE-LABlab(31.91, 47.62, -26.20)
CIE-LCHlch(31.91, 54.35, 331.18°)
OKLaboklab(43.33% 0.1367 -0.0719)
OKLCHoklch(43.33% 0.154 332.2)
XYZxyz(12.4767, 7.0441, 17.5287)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2575 #257E2E
analogous
#5A257E #7E2575 #7E2549
triadic
#7E2575 #757E25 #25757E
tetradic
#7E2575 #7E5A25 #257E2E #25497E
square
#7E2575 #7E5A25 #257E2E #25497E
split-complementary
#7E2575 #497E25 #257E5A
monochromatic
#1F091D #4F1749 #7E2575 #AD33A1 #CC51C0

Accessibility & contrast

On white

8.72
#7E2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2575
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2575#FFFFFF#000000##FFFFFF
##7E25751.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204377
Deuteranopia (green-blind)
#405073
Tritanopia (blue-blind)
#832E4A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2575;
/* rgb */ color: rgb(126, 37, 117);
/* oklch */ color: oklch(43.3% 0.154 332.2);
Tailwind
colors: {
  custom: {
    50: '#a6689d',
    500: '#7e2575',
    950: '#000000',
  },
}
SCSS
$custom: #7e2575;
$custom-light: #a6689d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2575",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 306.067,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.15441,
    "h": 332.2
  },
  "luminance": 0.07043
}

Semantic roles & 50–950 ramp

primary
#7E2575
secondary
#4FB059
accent
#DE594A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #7E2575

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

Preview Lab → · Contrast checker → · Palette generator →

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