#7525A7#7525A7

#7525A7 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.196 H 308.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7525A7
RGBrgb(117, 37, 167)
HSLhsl(277, 64%, 40%)
HSVhsv(277, 78%, 65%)
CMYKcmyk(29.9%, 77.8%, 0%, 34.5%)
CIE-LABlab(33.76, 55.53, -54.13)
CIE-LCHlch(33.76, 77.54, 315.73°)
OKLaboklab(45.41% 0.1213 -0.1538)
OKLCHoklch(45.41% 0.196 308.3)
XYZxyz(14.9713, 7.8953, 37.2870)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525A7 #57A725
analogous
#3425A7 #7525A7 #A72598
triadic
#7525A7 #A77525 #25A775
tetradic
#7525A7 #A73425 #57A725 #2598A7
square
#7525A7 #A73425 #57A725 #2598A7
split-complementary
#7525A7 #98A725 #25A734
monochromatic
#2F0F43 #521A75 #7525A7 #9737D3 #B169DE

Accessibility & contrast

On white

8.14
#7525A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7525A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525A7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525A7#FFFFFF#000000##FFFFFF
##7525A71.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#6D4565
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7525a7;
/* rgb */ color: rgb(117, 37, 167);
/* oklch */ color: oklch(45.4% 0.196 308.3);
Tailwind
colors: {
  custom: {
    50: '#a269c2',
    500: '#7525a7',
    950: '#000000',
  },
}
SCSS
$custom: #7525a7;
$custom-light: #a269c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7525a7",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 276.923,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.45407,
    "c": 0.19583,
    "h": 308.3
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#7525A7
secondary
#89C464
accent
#E74181
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7525A7

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

Preview Lab → · Contrast checker → · Palette generator →

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