#7D147E#7D147E

#7D147E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.179 H 327.7°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7D147E
RGBrgb(125, 20, 126)
HSLhsl(299, 73%, 29%)
HSVhsv(299, 84%, 49%)
CMYKcmyk(0.8%, 84.1%, 0%, 50.6%)
CIE-LABlab(30.32, 54.43, -34.40)
CIE-LCHlch(30.32, 64.39, 327.70°)
OKLaboklab(42.32% 0.1515 -0.0956)
OKLCHoklch(42.32% 0.179 327.7)
XYZxyz(12.4733, 6.3676, 20.3067)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D147E #157E14
analogous
#48147E #7D147E #7E144A
triadic
#7D147E #7E7D14 #147E7D
tetradic
#7D147E #7E4814 #157E14 #144A7E
square
#7D147E #7E4814 #157E14 #144A7E
split-complementary
#7D147E #4A7E14 #147E48
monochromatic
#1A041A #490C49 #7D147E #B11CB3 #DC2EDE

Accessibility & contrast

On white

9.24
#7D147E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7D147E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D147E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D147E#FFFFFF#000000##FFFFFF
##7D147E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#344C7C
Tritanopia (blue-blind)
#81284A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d147e;
/* rgb */ color: rgb(125, 20, 126);
/* oklch */ color: oklch(42.3% 0.179 327.7);
Tailwind
colors: {
  custom: {
    50: '#a662a4',
    500: '#7d147e',
    950: '#000000',
  },
}
SCSS
$custom: #7d147e;
$custom-light: #a662a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d147e",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 126
  },
  "hsl": {
    "h": 299.434,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.42324,
    "c": 0.17909,
    "h": 327.7
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#7D147E
secondary
#3CB33A
accent
#EF383A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D147E

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

Preview Lab → · Contrast checker → · Palette generator →

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