#7525A1#7525A1

#7525A1 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.190 H 310.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7525A1
RGBrgb(117, 37, 161)
HSLhsl(279, 63%, 39%)
HSVhsv(279, 77%, 63%)
CMYKcmyk(27.3%, 77%, 0%, 36.9%)
CIE-LABlab(33.30, 54.21, -51.25)
CIE-LCHlch(33.30, 74.60, 316.61°)
OKLaboklab(44.94% 0.1225 -0.1453)
OKLCHoklch(44.94% 0.19 310.1)
XYZxyz(14.4294, 7.6786, 34.4333)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525A1 #51A125
analogous
#3725A1 #7525A1 #A1258F
triadic
#7525A1 #A17525 #25A175
tetradic
#7525A1 #A13725 #51A125 #258FA1
square
#7525A1 #A13725 #51A125 #258FA1
split-complementary
#7525A1 #8FA125 #25A137
monochromatic
#2D0E3D #511A6F #7525A1 #9833D0 #B165DC

Accessibility & contrast

On white

8.28
#7525A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7525A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525A1
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525A1#FFFFFF#000000##FFFFFF
##7525A11.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#6F4362
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7525a1;
/* rgb */ color: rgb(117, 37, 161);
/* oklch */ color: oklch(44.9% 0.190 310.1);
Tailwind
colors: {
  custom: {
    50: '#a169be',
    500: '#7525a1',
    950: '#000000',
  },
}
SCSS
$custom: #7525a1;
$custom-light: #a169be;
$custom-dark: #000000;
JSON
{
  "hex": "#7525a1",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 278.71,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4494,
    "c": 0.19008,
    "h": 310.1
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#7525A1
secondary
#83C161
accent
#E6427C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7525A1

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

Preview Lab → · Contrast checker → · Palette generator →

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