#7527A8#7527A8

#7527A8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.195 H 307.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7527A8
RGBrgb(117, 39, 168)
HSLhsl(276, 62%, 41%)
HSVhsv(276, 77%, 66%)
CMYKcmyk(30.4%, 76.8%, 0%, 34.1%)
CIE-LABlab(34.11, 54.98, -54.17)
CIE-LCHlch(34.11, 77.18, 315.43°)
OKLaboklab(45.67% 0.1193 -0.1539)
OKLCHoklch(45.67% 0.195 307.8)
XYZxyz(15.1280, 8.0603, 37.7970)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7527A8 #5AA827
analogous
#3427A8 #7527A8 #A8279A
triadic
#7527A8 #A87527 #27A875
tetradic
#7527A8 #A83427 #5AA827 #279AA8
square
#7527A8 #A83427 #5AA827 #279AA8
split-complementary
#7527A8 #9AA827 #27A834
monochromatic
#301045 #521B76 #7527A8 #963BD1 #B06CDD

Accessibility & contrast

On white

8.04
#7527A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7527A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7527A8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7527A8#FFFFFF#000000##FFFFFF
##7527A81.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#6D4766
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7527a8;
/* rgb */ color: rgb(117, 39, 168);
/* oklch */ color: oklch(45.7% 0.195 307.8);
Tailwind
colors: {
  custom: {
    50: '#a26ac3',
    500: '#7527a8',
    950: '#000000',
  },
}
SCSS
$custom: #7527a8;
$custom-light: #a26ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7527a8",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 276.279,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.1947,
    "h": 307.8
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#7527A8
secondary
#8CC367
accent
#E54283
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7527A8

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

Preview Lab → · Contrast checker → · Palette generator →

#7527A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva