#7525A2#7525A2

#7525A2 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.0% C 0.191 H 309.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7525A2
RGBrgb(117, 37, 162)
HSLhsl(278, 63%, 39%)
HSVhsv(278, 77%, 64%)
CMYKcmyk(27.8%, 77.2%, 0%, 36.5%)
CIE-LABlab(33.38, 54.43, -51.73)
CIE-LCHlch(33.38, 75.09, 316.45°)
OKLaboklab(45.02% 0.1223 -0.1467)
OKLCHoklch(45.02% 0.191 309.8)
XYZxyz(14.5180, 7.7140, 34.8996)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525A2 #52A225
analogous
#3725A2 #7525A2 #A22591
triadic
#7525A2 #A27525 #25A275
tetradic
#7525A2 #A23725 #52A225 #2591A2
square
#7525A2 #A23725 #52A225 #2591A2
split-complementary
#7525A2 #91A225 #25A237
monochromatic
#2D0E3E #511A70 #7525A2 #9834D1 #B165DC

Accessibility & contrast

On white

8.26
#7525A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7525A2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525A2#FFFFFF#000000##FFFFFF
##7525A21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#00509F
Tritanopia (blue-blind)
#6E4362
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7525a2;
/* rgb */ color: rgb(117, 37, 162);
/* oklch */ color: oklch(45.0% 0.191 309.8);
Tailwind
colors: {
  custom: {
    50: '#a169be',
    500: '#7525a2',
    950: '#000000',
  },
}
SCSS
$custom: #7525a2;
$custom-light: #a169be;
$custom-dark: #000000;
JSON
{
  "hex": "#7525a2",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 278.4,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45017,
    "c": 0.19103,
    "h": 309.8
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#7525A2
secondary
#84C261
accent
#E6427D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7525A2

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

Preview Lab → · Contrast checker → · Palette generator →

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