#7D17A0#7D17A0

#7D17A0 is a dark, highly saturated purple. Relative luminance 0.075; OKLCH L 44.9% C 0.204 H 314.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7D17A0
RGBrgb(125, 23, 160)
HSLhsl(285, 75%, 36%)
HSVhsv(285, 86%, 63%)
CMYKcmyk(21.9%, 85.6%, 0%, 37.3%)
CIE-LABlab(32.94, 59.88, -51.17)
CIE-LCHlch(32.94, 78.77, 319.48°)
OKLaboklab(44.92% 0.1442 -0.1447)
OKLCHoklch(44.92% 0.204 314.9)
XYZxyz(15.1079, 7.5114, 33.9049)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D17A0 #3AA017
analogous
#3917A0 #7D17A0 #A0177E
triadic
#7D17A0 #A07D17 #17A07D
tetradic
#7D17A0 #A03917 #3AA017 #177EA0
square
#7D17A0 #A03917 #3AA017 #177EA0
split-complementary
#7D17A0 #7EA017 #17A039
monochromatic
#290835 #530F6A #7D17A0 #A71FD6 #BE4CE5

Accessibility & contrast

On white

8.39
#7D17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D17A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D17A0
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D17A0#FFFFFF#000000##FFFFFF
##7D17A01.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#08509D
Tritanopia (blue-blind)
#7A3B5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d17a0;
/* rgb */ color: rgb(125, 23, 160);
/* oklch */ color: oklch(44.9% 0.204 314.9);
Tailwind
colors: {
  custom: {
    50: '#a764bd',
    500: '#7d17a0',
    950: '#000000',
  },
}
SCSS
$custom: #7d17a0;
$custom-light: #a764bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d17a0",
  "rgb": {
    "r": 125,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 284.672,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.20428,
    "h": 314.9
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#7D17A0
secondary
#6BC74C
accent
#F13666
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7D17A0

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

Preview Lab → · Contrast checker → · Palette generator →

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