#7524BC#7524BC

#7524BC is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.217 H 302.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7524BC
RGBrgb(117, 36, 188)
HSLhsl(272, 68%, 44%)
HSVhsv(272, 81%, 74%)
CMYKcmyk(37.8%, 80.9%, 0%, 26.3%)
CIE-LABlab(35.35, 60.61, -64.04)
CIE-LCHlch(35.35, 88.18, 313.42°)
OKLaboklab(47.05% 0.1166 -0.1829)
OKLCHoklch(47.05% 0.217 302.5)
XYZxyz(17.0419, 8.6745, 48.3437)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7524BC #6BBC24
analogous
#2924BC #7524BC #BC24B7
triadic
#7524BC #BC7524 #24BC75
tetradic
#7524BC #BC2924 #6BBC24 #24B7BC
square
#7524BC #BC2924 #6BBC24 #24B7BC
split-complementary
#7524BC #B7BC24 #24BC29
monochromatic
#351055 #551A89 #7524BC #9442DB #B176E5

Accessibility & contrast

On white

7.68
#7524BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7524BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7524BC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7524BC#FFFFFF#000000##FFFFFF
##7524BC1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#664E71
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7524bc;
/* rgb */ color: rgb(117, 36, 188);
/* oklch */ color: oklch(47.0% 0.217 302.5);
Tailwind
colors: {
  custom: {
    50: '#a46ad1',
    500: '#7524bc',
    950: '#000000',
  },
}
SCSS
$custom: #7524bc;
$custom-light: #a46ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7524bc",
  "rgb": {
    "r": 117,
    "g": 36,
    "b": 188
  },
  "hsl": {
    "h": 271.974,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47046,
    "c": 0.21688,
    "h": 302.5
  },
  "luminance": 0.08675
}

Semantic roles & 50–950 ramp

primary
#7524BC
secondary
#9BCC70
accent
#EB3D8E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7524BC

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

Preview Lab → · Contrast checker → · Palette generator →

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