#7525AF#7525AF

#7525AF is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.204 H 305.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7525AF
RGBrgb(117, 37, 175)
HSLhsl(275, 65%, 42%)
HSVhsv(275, 79%, 69%)
CMYKcmyk(33.1%, 78.9%, 0%, 31.4%)
CIE-LABlab(34.40, 57.31, -57.89)
CIE-LCHlch(34.40, 81.46, 314.71°)
OKLaboklab(46.05% 0.1194 -0.1648)
OKLCHoklch(46.05% 0.204 305.9)
XYZxyz(15.7338, 8.2003, 41.3031)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525AF #5FAF25
analogous
#3025AF #7525AF #AF25A4
triadic
#7525AF #AF7525 #25AF75
tetradic
#7525AF #AF3025 #5FAF25 #25A4AF
square
#7525AF #AF3025 #5FAF25 #25A4AF
split-complementary
#7525AF #A4AF25 #25AF30
monochromatic
#31104A #531A7C #7525AF #953CD6 #B06EE0

Accessibility & contrast

On white

7.95
#7525AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7525AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525AF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525AF#FFFFFF#000000##FFFFFF
##7525AF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#6A496A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7525af;
/* rgb */ color: rgb(117, 37, 175);
/* oklch */ color: oklch(46.0% 0.204 305.9);
Tailwind
colors: {
  custom: {
    50: '#a269c8',
    500: '#7525af',
    950: '#000000',
  },
}
SCSS
$custom: #7525af;
$custom-light: #a269c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7525af",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 274.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46048,
    "c": 0.20351,
    "h": 305.9
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#7525AF
secondary
#90C769
accent
#E84086
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7525AF

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

Preview Lab → · Contrast checker → · Palette generator →

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