#7E1475#7E1475

#7E1475 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.173 H 332.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#7E1475
RGBrgb(126, 20, 117)
HSLhsl(305, 73%, 29%)
HSVhsv(305, 84%, 49%)
CMYKcmyk(0%, 84.1%, 7.1%, 50.6%)
CIE-LABlab(29.96, 53.17, -29.27)
CIE-LCHlch(29.96, 60.69, 331.17°)
OKLaboklab(41.93% 0.1528 -0.0806)
OKLCHoklch(41.93% 0.173 332.2)
XYZxyz(12.0653, 6.2213, 17.3916)
Luminance0.0622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1475 #147E1D
analogous
#52147E #7E1475 #7E1440
triadic
#7E1475 #757E14 #14757E
tetradic
#7E1475 #7E5214 #147E1D #14407E
square
#7E1475 #7E5214 #147E1D #14407E
split-complementary
#7E1475 #407E14 #147E52
monochromatic
#1A0419 #490C44 #7E1475 #B31CA6 #DE2ECF

Accessibility & contrast

On white

9.36
#7E1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7E1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1475
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1475#FFFFFF#000000##FFFFFF
##7E14751.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1475;
/* rgb */ color: rgb(126, 20, 117);
/* oklch */ color: oklch(41.9% 0.173 332.2);
Tailwind
colors: {
  custom: {
    50: '#a7619d',
    500: '#7e1475',
    950: '#000000',
  },
}
SCSS
$custom: #7e1475;
$custom-light: #a7619d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1475",
  "rgb": {
    "r": 126,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 305.094,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4193,
    "c": 0.17277,
    "h": 332.2
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#7E1475
secondary
#3AB345
accent
#EF4838
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E1475

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

Preview Lab → · Contrast checker → · Palette generator →

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