#7512A0#7512A0

#7512A0 is a dark, highly saturated purple. Relative luminance 0.068; OKLCH L 43.5% C 0.205 H 311.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7512A0
RGBrgb(117, 18, 160)
HSLhsl(282, 80%, 35%)
HSVhsv(282, 89%, 63%)
CMYKcmyk(26.9%, 88.8%, 0%, 37.3%)
CIE-LABlab(31.24, 59.79, -54.01)
CIE-LCHlch(31.24, 80.57, 317.91°)
OKLaboklab(43.47% 0.1365 -0.1533)
OKLCHoklch(43.47% 0.205 311.7)
XYZxyz(13.8964, 6.7530, 33.8223)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7512A0 #3DA012
analogous
#2E12A0 #7512A0 #A01284
triadic
#7512A0 #A07512 #12A075
tetradic
#7512A0 #A02E12 #3DA012 #1284A0
square
#7512A0 #A02E12 #3DA012 #1284A0
split-complementary
#7512A0 #84A012 #12A02E
monochromatic
#250632 #4D0C69 #7512A0 #9D18D7 #B743EA

Accessibility & contrast

On white

8.93
#7512A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7512A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7512A0
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7512A0#FFFFFF#000000##FFFFFF
##7512A01.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#6F3B5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7512a0;
/* rgb */ color: rgb(117, 18, 160);
/* oklch */ color: oklch(43.5% 0.205 311.7);
Tailwind
colors: {
  custom: {
    50: '#a262bd',
    500: '#7512a0',
    950: '#000000',
  },
}
SCSS
$custom: #7512a0;
$custom-light: #a262bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7512a0",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 160
  },
  "hsl": {
    "h": 281.831,
    "s": 79.775,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43473,
    "c": 0.20524,
    "h": 311.7
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#7512A0
secondary
#6CCA44
accent
#F6326D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7512A0

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

Preview Lab → · Contrast checker → · Palette generator →

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