#7525A4#7525A4

#7525A4 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.193 H 309.2°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#7525A4
RGBrgb(117, 37, 164)
HSLhsl(278, 63%, 39%)
HSVhsv(278, 77%, 64%)
CMYKcmyk(28.7%, 77.4%, 0%, 35.7%)
CIE-LABlab(33.53, 54.87, -52.69)
CIE-LCHlch(33.53, 76.07, 316.16°)
OKLaboklab(45.17% 0.1219 -0.1495)
OKLCHoklch(45.17% 0.193 309.2)
XYZxyz(14.6972, 7.7857, 35.8433)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525A4 #54A425
analogous
#3525A4 #7525A4 #A42594
triadic
#7525A4 #A47525 #25A475
tetradic
#7525A4 #A43525 #54A425 #2594A4
square
#7525A4 #A43525 #54A425 #2594A4
split-complementary
#7525A4 #94A425 #25A435
monochromatic
#2E0E40 #511A72 #7525A4 #9735D1 #B167DD

Accessibility & contrast

On white

8.21
#7525A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7525A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525A4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525A4#FFFFFF#000000##FFFFFF
##7525A41.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0050A1
Tritanopia (blue-blind)
#6E4464
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7525a4;
/* rgb */ color: rgb(117, 37, 164);
/* oklch */ color: oklch(45.2% 0.193 309.2);
Tailwind
colors: {
  custom: {
    50: '#a269c0',
    500: '#7525a4',
    950: '#000000',
  },
}
SCSS
$custom: #7525a4;
$custom-light: #a269c0;
$custom-dark: #000000;
JSON
{
  "hex": "#7525a4",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 277.795,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.19294,
    "h": 309.2
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#7525A4
secondary
#86C262
accent
#E6427F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7525A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7525A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva