#7517A1#7517A1

#7517A1 is a dark, highly saturated purple. Relative luminance 0.070; OKLCH L 43.8% C 0.203 H 311.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7517A1
RGBrgb(117, 23, 161)
HSLhsl(281, 75%, 36%)
HSVhsv(281, 86%, 63%)
CMYKcmyk(27.3%, 85.7%, 0%, 36.9%)
CIE-LABlab(31.73, 58.77, -53.80)
CIE-LCHlch(31.73, 79.68, 317.53°)
OKLaboklab(43.84% 0.1333 -0.1527)
OKLCHoklch(43.84% 0.203 311.1)
XYZxyz(14.0743, 6.9683, 34.3149)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7517A1 #43A117
analogous
#3017A1 #7517A1 #A11788
triadic
#7517A1 #A17517 #17A175
tetradic
#7517A1 #A13017 #43A117 #1788A1
square
#7517A1 #A13017 #43A117 #1788A1
split-complementary
#7517A1 #88A117 #17A130
monochromatic
#270836 #4E0F6B #7517A1 #9C1FD7 #B54DE6

Accessibility & contrast

On white

8.77
#7517A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7517A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7517A1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7517A1#FFFFFF#000000##FFFFFF
##7517A11.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#6F3D5F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7517a1;
/* rgb */ color: rgb(117, 23, 161);
/* oklch */ color: oklch(43.8% 0.203 311.1);
Tailwind
colors: {
  custom: {
    50: '#a263be',
    500: '#7517a1',
    950: '#000000',
  },
}
SCSS
$custom: #7517a1;
$custom-light: #a263be;
$custom-dark: #000000;
JSON
{
  "hex": "#7517a1",
  "rgb": {
    "r": 117,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 280.87,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.2027,
    "h": 311.1
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#7517A1
secondary
#74C74C
accent
#F23672
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7517A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7517A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva