#7E1575#7E1575

#7E1575 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.172 H 332.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7E1575
RGBrgb(126, 21, 117)
HSLhsl(305, 71%, 29%)
HSVhsv(305, 83%, 49%)
CMYKcmyk(0%, 83.3%, 7.1%, 50.6%)
CIE-LABlab(30.05, 52.91, -29.13)
CIE-LCHlch(30.05, 60.40, 331.17°)
OKLaboklab(41.99% 0.1521 -0.0802)
OKLCHoklch(41.99% 0.172 332.2)
XYZxyz(12.0833, 6.2573, 17.3976)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1575 #157E1E
analogous
#53157E #7E1575 #7E1541
triadic
#7E1575 #757E15 #15757E
tetradic
#7E1575 #7E5315 #157E1E #15417E
square
#7E1575 #7E5315 #157E1E #15417E
split-complementary
#7E1575 #417E15 #157E53
monochromatic
#1A0418 #4A0C44 #7E1575 #B21EA6 #DD31CE

Accessibility & contrast

On white

9.33
#7E1575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E1575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1575
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1575#FFFFFF#000000##FFFFFF
##7E15751.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3E77
Deuteranopia (green-blind)
#3A4C73
Tritanopia (blue-blind)
#842345
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1575;
/* rgb */ color: rgb(126, 21, 117);
/* oklch */ color: oklch(42.0% 0.172 332.2);
Tailwind
colors: {
  custom: {
    50: '#a7629d',
    500: '#7e1575',
    950: '#000000',
  },
}
SCSS
$custom: #7e1575;
$custom-light: #a7629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1575",
  "rgb": {
    "r": 126,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 305.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41993,
    "c": 0.17192,
    "h": 332.2
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#7E1575
secondary
#3CB346
accent
#EE493A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1575

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

Preview Lab → · Contrast checker → · Palette generator →

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