#7529AB#7529AB

#7529AB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.196 H 306.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7529AB
RGBrgb(117, 41, 171)
HSLhsl(275, 61%, 42%)
HSVhsv(275, 76%, 67%)
CMYKcmyk(31.6%, 76%, 0%, 32.9%)
CIE-LABlab(34.62, 54.87, -55.14)
CIE-LCHlch(34.62, 77.79, 314.86°)
OKLaboklab(46.1% 0.1168 -0.1568)
OKLCHoklch(46.1% 0.196 306.7)
XYZxyz(15.4781, 8.3082, 39.3084)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7529AB #5FAB29
analogous
#3429AB #7529AB #AB29A0
triadic
#7529AB #AB7529 #29AB75
tetradic
#7529AB #AB3429 #5FAB29 #29A0AB
square
#7529AB #AB3429 #5FAB29 #29A0AB
split-complementary
#7529AB #A0AB29 #29AB34
monochromatic
#311148 #531D7A #7529AB #9540D1 #B071DD

Accessibility & contrast

On white

7.89
#7529AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7529AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7529AB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7529AB#FFFFFF#000000##FFFFFF
##7529AB1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#6C4969
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7529ab;
/* rgb */ color: rgb(117, 41, 171);
/* oklch */ color: oklch(46.1% 0.196 306.7);
Tailwind
colors: {
  custom: {
    50: '#a26bc5',
    500: '#7529ab',
    950: '#000000',
  },
}
SCSS
$custom: #7529ab;
$custom-light: #a26bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7529ab",
  "rgb": {
    "r": 117,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 275.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46104,
    "c": 0.19552,
    "h": 306.7
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#7529AB
secondary
#90C46C
accent
#E44386
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7529AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7529AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva