#7512A1#7512A1

#7512A1 is a dark, highly saturated purple. Relative luminance 0.068; OKLCH L 43.6% C 0.206 H 311.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7512A1
RGBrgb(117, 18, 161)
HSLhsl(282, 80%, 35%)
HSVhsv(282, 89%, 63%)
CMYKcmyk(27.3%, 88.8%, 0%, 36.9%)
CIE-LABlab(31.32, 60.00, -54.48)
CIE-LCHlch(31.32, 81.04, 317.76°)
OKLaboklab(43.56% 0.1362 -0.1547)
OKLCHoklch(43.56% 0.206 311.4)
XYZxyz(13.9842, 6.7881, 34.2849)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7512A1 #3EA112
analogous
#2D12A1 #7512A1 #A11286
triadic
#7512A1 #A17512 #12A175
tetradic
#7512A1 #A12D12 #3EA112 #1286A1
square
#7512A1 #A12D12 #3EA112 #1286A1
split-complementary
#7512A1 #86A112 #12A12D
monochromatic
#250633 #4D0C6A #7512A1 #9D18D8 #B743EA

Accessibility & contrast

On white

8.91
#7512A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7512A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7512A1
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7512A1#FFFFFF#000000##FFFFFF
##7512A11.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#6F3B5F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7512a1;
/* rgb */ color: rgb(117, 18, 161);
/* oklch */ color: oklch(43.6% 0.206 311.4);
Tailwind
colors: {
  custom: {
    50: '#a262be',
    500: '#7512a1',
    950: '#000000',
  },
}
SCSS
$custom: #7512a1;
$custom-light: #a262be;
$custom-dark: #000000;
JSON
{
  "hex": "#7512a1",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 161
  },
  "hsl": {
    "h": 281.538,
    "s": 79.888,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43555,
    "c": 0.20608,
    "h": 311.4
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#7512A1
secondary
#6ECA45
accent
#F6316E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7512A1

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

Preview Lab → · Contrast checker → · Palette generator →

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