#9524D1#9524D1

#9524D1 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.9% C 0.243 H 309.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9524D1
RGBrgb(149, 36, 209)
HSLhsl(279, 71%, 48%)
HSVhsv(279, 83%, 82%)
CMYKcmyk(28.7%, 82.8%, 0%, 18%)
CIE-LABlab(41.62, 69.99, -65.88)
CIE-LCHlch(41.62, 96.11, 316.73°)
OKLaboklab(52.88% 0.1549 -0.1872)
OKLCHoklch(52.88% 0.243 309.6)
XYZxyz(24.5316, 12.2553, 61.3824)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9524D1 #60D124
analogous
#3F24D1 #9524D1 #D124B6
triadic
#9524D1 #D19524 #24D195
tetradic
#9524D1 #D13F24 #60D124 #24B6D1
square
#9524D1 #D13F24 #60D124 #24B6D1
split-complementary
#9524D1 #B6D124 #24D13F
monochromatic
#4B1269 #701B9D #9524D1 #AF51E1 #C785EA

Accessibility & contrast

On white

6.09
#9524D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9524D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9524D1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9524D1#FFFFFF#000000##FFFFFF
##9524D11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#8C537E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9524d1;
/* rgb */ color: rgb(149, 36, 209);
/* oklch */ color: oklch(52.9% 0.243 309.6);
Tailwind
colors: {
  custom: {
    50: '#ba6fe0',
    500: '#9524d1',
    950: '#000000',
  },
}
SCSS
$custom: #9524d1;
$custom-light: #ba6fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#9524d1",
  "rgb": {
    "r": 149,
    "g": 36,
    "b": 209
  },
  "hsl": {
    "h": 279.191,
    "s": 70.612,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.24298,
    "h": 309.6
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#9524D1
secondary
#9BD37E
accent
#ED3A78
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #9524D1

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

Preview Lab → · Contrast checker → · Palette generator →

#9524D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva