#7529A2#7529A2

#7529A2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.187 H 309.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7529A2
RGBrgb(117, 41, 162)
HSLhsl(278, 60%, 40%)
HSVhsv(278, 75%, 64%)
CMYKcmyk(27.8%, 74.7%, 0%, 36.5%)
CIE-LABlab(33.93, 52.84, -50.84)
CIE-LCHlch(33.93, 73.33, 316.11°)
OKLaboklab(45.41% 0.1186 -0.1441)
OKLCHoklch(45.41% 0.187 309.4)
XYZxyz(14.6493, 7.9767, 34.9434)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7529A2 #56A229
analogous
#3929A2 #7529A2 #A22993
triadic
#7529A2 #A27529 #29A275
tetradic
#7529A2 #A23929 #56A229 #2993A2
square
#7529A2 #A23929 #56A229 #2993A2
split-complementary
#7529A2 #93A229 #29A239
monochromatic
#2E1040 #521D71 #7529A2 #973BCD #B16CDA

Accessibility & contrast

On white

8.09
#7529A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7529A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7529A2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7529A2#FFFFFF#000000##FFFFFF
##7529A21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#07519F
Tritanopia (blue-blind)
#6E4563
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7529a2;
/* rgb */ color: rgb(117, 41, 162);
/* oklch */ color: oklch(45.4% 0.187 309.4);
Tailwind
colors: {
  custom: {
    50: '#a16bbe',
    500: '#7529a2',
    950: '#000000',
  },
}
SCSS
$custom: #7529a2;
$custom-light: #a16bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7529a2",
  "rgb": {
    "r": 117,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 277.686,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45408,
    "c": 0.18663,
    "h": 309.4
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#7529A2
secondary
#88C067
accent
#E34580
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7529A2

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

Preview Lab → · Contrast checker → · Palette generator →

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