#7529C2#7529C2

#7529C2 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.218 H 300.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7529C2
RGBrgb(117, 41, 194)
HSLhsl(270, 65%, 46%)
HSVhsv(270, 79%, 76%)
CMYKcmyk(39.7%, 78.9%, 0%, 23.9%)
CIE-LABlab(36.49, 60.18, -65.71)
CIE-LCHlch(36.49, 89.11, 312.48°)
OKLaboklab(47.99% 0.1111 -0.1878)
OKLCHoklch(47.99% 0.218 300.6)
XYZxyz(17.8642, 9.2627, 51.8752)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7529C2 #76C229
analogous
#2929C2 #7529C2 #C129C2
triadic
#7529C2 #C27529 #29C275
tetradic
#7529C2 #C22929 #76C229 #29C2C1
square
#7529C2 #C22929 #76C229 #29C2C1
split-complementary
#7529C2 #C2C129 #29C229
monochromatic
#38145D #571E8F #7529C2 #944EDA #B281E4

Accessibility & contrast

On white

7.36
#7529C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7529C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7529C2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7529C2#FFFFFF#000000##FFFFFF
##7529C21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#635376
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7529c2;
/* rgb */ color: rgb(117, 41, 194);
/* oklch */ color: oklch(48.0% 0.218 300.6);
Tailwind
colors: {
  custom: {
    50: '#a46cd6',
    500: '#7529c2',
    950: '#000000',
  },
}
SCSS
$custom: #7529c2;
$custom-light: #a46cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#7529c2",
  "rgb": {
    "r": 117,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 269.804,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47993,
    "c": 0.21822,
    "h": 300.6
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#7529C2
secondary
#A4CD7A
accent
#E84094
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7529C2

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

Preview Lab → · Contrast checker → · Palette generator →

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