#7525A8#7525A8

#7525A8 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.5% C 0.197 H 308.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7525A8
RGBrgb(117, 37, 168)
HSLhsl(277, 64%, 40%)
HSVhsv(277, 78%, 66%)
CMYKcmyk(30.4%, 78%, 0%, 34.1%)
CIE-LABlab(33.84, 55.75, -54.60)
CIE-LCHlch(33.84, 78.03, 315.60°)
OKLaboklab(45.49% 0.121 -0.1551)
OKLCHoklch(45.49% 0.197 308)
XYZxyz(15.0641, 7.9324, 37.7757)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525A8 #58A825
analogous
#3325A8 #7525A8 #A82599
triadic
#7525A8 #A87525 #25A875
tetradic
#7525A8 #A83325 #58A825 #2599A8
square
#7525A8 #A83325 #58A825 #2599A8
split-complementary
#7525A8 #99A825 #25A833
monochromatic
#2F0F44 #521A76 #7525A8 #9637D3 #B169DE

Accessibility & contrast

On white

8.12
#7525A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7525A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7525A8#FFFFFF#000000##FFFFFF
##7525A81.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#6D4666
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7525a8;
/* rgb */ color: rgb(117, 37, 168);
/* oklch */ color: oklch(45.5% 0.197 308.0);
Tailwind
colors: {
  custom: {
    50: '#a269c3',
    500: '#7525a8',
    950: '#000000',
  },
}
SCSS
$custom: #7525a8;
$custom-light: #a269c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7525a8",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 276.641,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45486,
    "c": 0.19678,
    "h": 308
  },
  "luminance": 0.07932
}

Semantic roles & 50–950 ramp

primary
#7525A8
secondary
#8AC465
accent
#E74182
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7525A8

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

Preview Lab → · Contrast checker → · Palette generator →

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