#7525AA#7525AA

#7525AA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.199 H 307.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7525AA
RGBrgb(117, 37, 170)
HSLhsl(276, 64%, 41%)
HSVhsv(276, 78%, 67%)
CMYKcmyk(31.2%, 78.2%, 0%, 33.3%)
CIE-LABlab(34.00, 56.19, -55.55)
CIE-LCHlch(34.00, 79.01, 315.33°)
OKLaboklab(45.65% 0.1206 -0.1579)
OKLCHoklch(45.65% 0.199 307.4)
XYZxyz(15.2518, 8.0075, 38.7645)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525AA #5AAA25
analogous
#3225AA #7525AA #AA259C
triadic
#7525AA #AA7525 #25AA75
tetradic
#7525AA #AA3225 #5AAA25 #259CAA
square
#7525AA #AA3225 #5AAA25 #259CAA
split-complementary
#7525AA #9CAA25 #25AA32
monochromatic
#300F45 #521A78 #7525AA #9638D4 #B06BDF

Accessibility & contrast

On white

8.07
#7525AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7525AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7525AA#FFFFFF#000000##FFFFFF
##7525AA1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0051A7
Tritanopia (blue-blind)
#6C4767
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7525aa;
/* rgb */ color: rgb(117, 37, 170);
/* oklch */ color: oklch(45.6% 0.199 307.4);
Tailwind
colors: {
  custom: {
    50: '#a269c4',
    500: '#7525aa',
    950: '#000000',
  },
}
SCSS
$custom: #7525aa;
$custom-light: #a269c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7525aa",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 276.09,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45645,
    "c": 0.1987,
    "h": 307.4
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#7525AA
secondary
#8CC566
accent
#E74183
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7525AA

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

Preview Lab → · Contrast checker → · Palette generator →

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