#7525AD#7525AD

#7525AD is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.9% C 0.202 H 306.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7525AD
RGBrgb(117, 37, 173)
HSLhsl(275, 65%, 41%)
HSVhsv(275, 79%, 68%)
CMYKcmyk(32.4%, 78.6%, 0%, 32.2%)
CIE-LABlab(34.24, 56.86, -56.95)
CIE-LCHlch(34.24, 80.48, 314.95°)
OKLaboklab(45.89% 0.1199 -0.1621)
OKLCHoklch(45.89% 0.202 306.5)
XYZxyz(15.5389, 8.1223, 40.2762)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525AD #5DAD25
analogous
#3125AD #7525AD #AD25A1
triadic
#7525AD #AD7525 #25AD75
tetradic
#7525AD #AD3125 #5DAD25 #25A1AD
square
#7525AD #AD3125 #5DAD25 #25A1AD
split-complementary
#7525AD #A1AD25 #25AD31
monochromatic
#310F48 #531A7B #7525AD #953AD5 #B06DE0

Accessibility & contrast

On white

8.00
#7525AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7525AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525AD
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525AD#FFFFFF#000000##FFFFFF
##7525AD1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#6B4869
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7525ad;
/* rgb */ color: rgb(117, 37, 173);
/* oklch */ color: oklch(45.9% 0.202 306.5);
Tailwind
colors: {
  custom: {
    50: '#a269c6',
    500: '#7525ad',
    950: '#000000',
  },
}
SCSS
$custom: #7525ad;
$custom-light: #a269c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7525ad",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 173
  },
  "hsl": {
    "h": 275.294,
    "s": 64.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45886,
    "c": 0.20158,
    "h": 306.5
  },
  "luminance": 0.08122
}

Semantic roles & 50–950 ramp

primary
#7525AD
secondary
#8FC668
accent
#E84085
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7525AD

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

Preview Lab → · Contrast checker → · Palette generator →

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