#7524BD#7524BD

#7524BD is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.1% C 0.218 H 302.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7524BD
RGBrgb(117, 36, 189)
HSLhsl(272, 68%, 44%)
HSVhsv(272, 81%, 74%)
CMYKcmyk(38.1%, 81%, 0%, 25.9%)
CIE-LABlab(35.44, 60.84, -64.49)
CIE-LCHlch(35.44, 88.66, 313.33°)
OKLaboklab(47.13% 0.1163 -0.1842)
OKLCHoklch(47.13% 0.218 302.3)
XYZxyz(17.1501, 8.7177, 48.9134)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524BD #6CBD24
analogous
#2924BD #7524BD #BD24B9
triadic
#7524BD #BD7524 #24BD75
tetradic
#7524BD #BD2924 #6CBD24 #24B9BD
square
#7524BD #BD2924 #6CBD24 #24B9BD
split-complementary
#7524BD #B9BD24 #24BD29
monochromatic
#351056 #551A8A #7524BD #9443DB #B176E5

Accessibility & contrast

On white

7.65
#7524BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#7524BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7524BD
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7524BD#FFFFFF#000000##FFFFFF
##7524BD1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#654F72
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7524bd;
/* rgb */ color: rgb(117, 36, 189);
/* oklch */ color: oklch(47.1% 0.218 302.3);
Tailwind
colors: {
  custom: {
    50: '#a46ad2',
    500: '#7524bd',
    950: '#000000',
  },
}
SCSS
$custom: #7524bd;
$custom-light: #a46ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7524bd",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 189
  },
  "hsl": {
    "h": 271.765,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47131,
    "c": 0.21783,
    "h": 302.3
  },
  "luminance": 0.08718
}

Semantic roles & 50–950 ramp

primary
#7524BD
secondary
#9CCC70
accent
#EB3D8F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7524BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7524BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva