#7518A1#7518A1

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

Color values

HEX#7518A1
RGBrgb(117, 24, 161)
HSLhsl(281, 74%, 36%)
HSVhsv(281, 85%, 63%)
CMYKcmyk(27.3%, 85.1%, 0%, 36.9%)
CIE-LABlab(31.83, 58.50, -53.65)
CIE-LCHlch(31.83, 79.38, 317.48°)
OKLaboklab(43.91% 0.1327 -0.1523)
OKLCHoklch(43.91% 0.202 311.1)
XYZxyz(14.0945, 7.0087, 34.3217)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7518A1 #44A118
analogous
#3118A1 #7518A1 #A11889
triadic
#7518A1 #A17518 #18A175
tetradic
#7518A1 #A13118 #44A118 #1889A1
square
#7518A1 #A13118 #44A118 #1889A1
split-complementary
#7518A1 #89A118 #18A131
monochromatic
#280836 #4E106C #7518A1 #9C20D6 #B54FE5

Accessibility & contrast

On white

8.74
#7518A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7518A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7518A1
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7518A1#FFFFFF#000000##FFFFFF
##7518A11.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.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: #7518a1;
/* rgb */ color: rgb(117, 24, 161);
/* oklch */ color: oklch(43.9% 0.202 311.1);
Tailwind
colors: {
  custom: {
    50: '#a263be',
    500: '#7518a1',
    950: '#000000',
  },
}
SCSS
$custom: #7518a1;
$custom-light: #a263be;
$custom-dark: #000000;
JSON
{
  "hex": "#7518a1",
  "rgb": {
    "r": 117,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 280.73,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.20197,
    "h": 311.1
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#7518A1
secondary
#75C74E
accent
#F13773
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7518A1

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

Preview Lab → · Contrast checker → · Palette generator →

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