#7529BB#7529BB

#7529BB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.211 H 302.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7529BB
RGBrgb(117, 41, 187)
HSLhsl(271, 64%, 45%)
HSVhsv(271, 78%, 73%)
CMYKcmyk(37.4%, 78.1%, 0%, 26.7%)
CIE-LABlab(35.90, 58.54, -62.56)
CIE-LCHlch(35.90, 85.68, 313.10°)
OKLaboklab(47.4% 0.113 -0.1786)
OKLCHoklch(47.4% 0.211 302.3)
XYZxyz(17.0965, 8.9556, 47.8320)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7529BB #6FBB29
analogous
#2C29BB #7529BB #BB29B8
triadic
#7529BB #BB7529 #29BB75
tetradic
#7529BB #BB2C29 #6FBB29 #29B8BB
square
#7529BB #BB2C29 #6FBB29 #29B8BB
split-complementary
#7529BB #B8BB29 #29BB2C
monochromatic
#361357 #561E89 #7529BB #944AD7 #B17CE2

Accessibility & contrast

On white

7.52
#7529BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7529BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7529BB
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7529BB#FFFFFF#000000##FFFFFF
##7529BB1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#665072
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7529bb;
/* rgb */ color: rgb(117, 41, 187);
/* oklch */ color: oklch(47.4% 0.211 302.3);
Tailwind
colors: {
  custom: {
    50: '#a36cd0',
    500: '#7529bb',
    950: '#000000',
  },
}
SCSS
$custom: #7529bb;
$custom-light: #a36cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7529bb",
  "rgb": {
    "r": 117,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 271.233,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.21132,
    "h": 302.3
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#7529BB
secondary
#9ECB75
accent
#E74190
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7529BB

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

Preview Lab → · Contrast checker → · Palette generator →

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