#7525A3#7525A3

#7525A3 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.192 H 309.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7525A3
RGBrgb(117, 37, 163)
HSLhsl(278, 63%, 39%)
HSVhsv(278, 77%, 64%)
CMYKcmyk(28.2%, 77.3%, 0%, 36.1%)
CIE-LABlab(33.46, 54.65, -52.22)
CIE-LCHlch(33.46, 75.58, 316.30°)
OKLaboklab(45.09% 0.1221 -0.1481)
OKLCHoklch(45.09% 0.192 309.5)
XYZxyz(14.6072, 7.7497, 35.3696)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525A3 #53A325
analogous
#3625A3 #7525A3 #A32592
triadic
#7525A3 #A37525 #25A375
tetradic
#7525A3 #A33625 #53A325 #2592A3
square
#7525A3 #A33625 #53A325 #2592A3
split-complementary
#7525A3 #92A325 #25A336
monochromatic
#2D0E3F #511A71 #7525A3 #9834D1 #B166DC

Accessibility & contrast

On white

8.24
#7525A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7525A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525A3
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525A3#FFFFFF#000000##FFFFFF
##7525A31.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#6E4463
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7525a3;
/* rgb */ color: rgb(117, 37, 163);
/* oklch */ color: oklch(45.1% 0.192 309.5);
Tailwind
colors: {
  custom: {
    50: '#a169bf',
    500: '#7525a3',
    950: '#000000',
  },
}
SCSS
$custom: #7525a3;
$custom-light: #a169bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7525a3",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 278.095,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45094,
    "c": 0.19199,
    "h": 309.5
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#7525A3
secondary
#85C262
accent
#E6427E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7525A3

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

Preview Lab → · Contrast checker → · Palette generator →

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