#7525A6#7525A6

#7525A6 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.195 H 308.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7525A6
RGBrgb(117, 37, 166)
HSLhsl(277, 64%, 40%)
HSVhsv(277, 78%, 65%)
CMYKcmyk(29.5%, 77.7%, 0%, 34.9%)
CIE-LABlab(33.69, 55.31, -53.65)
CIE-LCHlch(33.69, 77.05, 315.87°)
OKLaboklab(45.33% 0.1215 -0.1524)
OKLCHoklch(45.33% 0.195 308.6)
XYZxyz(14.8792, 7.8585, 36.8020)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525A6 #56A625
analogous
#3425A6 #7525A6 #A62597
triadic
#7525A6 #A67525 #25A675
tetradic
#7525A6 #A63425 #56A625 #2597A6
square
#7525A6 #A63425 #56A625 #2597A6
split-complementary
#7525A6 #97A625 #25A634
monochromatic
#2E0F42 #521A74 #7525A6 #9736D2 #B168DD

Accessibility & contrast

On white

8.17
#7525A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7525A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525A6
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525A6#FFFFFF#000000##FFFFFF
##7525A61.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7525a6;
/* rgb */ color: rgb(117, 37, 166);
/* oklch */ color: oklch(45.3% 0.195 308.6);
Tailwind
colors: {
  custom: {
    50: '#a269c1',
    500: '#7525a6',
    950: '#000000',
  },
}
SCSS
$custom: #7525a6;
$custom-light: #a269c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7525a6",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 277.209,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45329,
    "c": 0.19487,
    "h": 308.6
  },
  "luminance": 0.07858
}

Semantic roles & 50–950 ramp

primary
#7525A6
secondary
#88C364
accent
#E74180
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7525A6

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

Preview Lab → · Contrast checker → · Palette generator →

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