#7525AC#7525AC

#7525AC is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.201 H 306.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7525AC
RGBrgb(117, 37, 172)
HSLhsl(276, 65%, 41%)
HSVhsv(276, 78%, 67%)
CMYKcmyk(32%, 78.5%, 0%, 32.5%)
CIE-LABlab(34.16, 56.64, -56.49)
CIE-LCHlch(34.16, 79.99, 315.08°)
OKLaboklab(45.81% 0.1201 -0.1607)
OKLCHoklch(45.81% 0.201 306.8)
XYZxyz(15.4425, 8.0838, 39.7685)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525AC #5CAC25
analogous
#3225AC #7525AC #AC259F
triadic
#7525AC #AC7525 #25AC75
tetradic
#7525AC #AC3225 #5CAC25 #259FAC
square
#7525AC #AC3225 #5CAC25 #259FAC
split-complementary
#7525AC #9FAC25 #25AC32
monochromatic
#300F47 #531A7A #7525AC #953AD5 #B06CDF

Accessibility & contrast

On white

8.03
#7525AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7525AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525AC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525AC#FFFFFF#000000##FFFFFF
##7525AC1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#6B4868
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7525ac;
/* rgb */ color: rgb(117, 37, 172);
/* oklch */ color: oklch(45.8% 0.201 306.8);
Tailwind
colors: {
  custom: {
    50: '#a269c6',
    500: '#7525ac',
    950: '#000000',
  },
}
SCSS
$custom: #7525ac;
$custom-light: #a269c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7525ac",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 275.556,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.20063,
    "h": 306.8
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#7525AC
secondary
#8EC667
accent
#E84084
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7525AC

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

Preview Lab → · Contrast checker → · Palette generator →

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