#7525A5#7525A5

#7525A5 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.3% C 0.194 H 308.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7525A5
RGBrgb(117, 37, 165)
HSLhsl(278, 63%, 40%)
HSVhsv(278, 78%, 65%)
CMYKcmyk(29.1%, 77.6%, 0%, 35.3%)
CIE-LABlab(33.61, 55.09, -53.17)
CIE-LCHlch(33.61, 76.56, 316.01°)
OKLaboklab(45.25% 0.1217 -0.151)
OKLCHoklch(45.25% 0.194 308.9)
XYZxyz(14.7878, 7.8219, 36.3208)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525A5 #55A525
analogous
#3525A5 #7525A5 #A52595
triadic
#7525A5 #A57525 #25A575
tetradic
#7525A5 #A53525 #55A525 #2595A5
square
#7525A5 #A53525 #55A525 #2595A5
split-complementary
#7525A5 #95A525 #25A535
monochromatic
#2E0F41 #521A73 #7525A5 #9735D2 #B167DD

Accessibility & contrast

On white

8.19
#7525A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7525A5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525A5#FFFFFF#000000##FFFFFF
##7525A51.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0050A2
Tritanopia (blue-blind)
#6E4564
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7525a5;
/* rgb */ color: rgb(117, 37, 165);
/* oklch */ color: oklch(45.3% 0.194 308.9);
Tailwind
colors: {
  custom: {
    50: '#a269c1',
    500: '#7525a5',
    950: '#000000',
  },
}
SCSS
$custom: #7525a5;
$custom-light: #a269c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7525a5",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 277.5,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4525,
    "c": 0.19391,
    "h": 308.9
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#7525A5
secondary
#87C363
accent
#E6417F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7525A5

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

Preview Lab → · Contrast checker → · Palette generator →

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