#9526AF#9526AF

#9526AF is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.213 H 319.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9526AF
RGBrgb(149, 38, 175)
HSLhsl(289, 64%, 42%)
HSVhsv(289, 78%, 69%)
CMYKcmyk(14.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(39.36, 62.79, -49.61)
CIE-LCHlch(39.36, 80.02, 321.69°)
OKLaboklab(50.52% 0.1604 -0.1394)
OKLCHoklch(50.52% 0.213 319)
XYZxyz(20.8244, 10.8720, 41.5507)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9526AF #40AF26
analogous
#5126AF #9526AF #AF2685
triadic
#9526AF #AF9526 #26AF95
tetradic
#9526AF #AF5126 #40AF26 #2685AF
square
#9526AF #AF5126 #40AF26 #2685AF
split-complementary
#9526AF #85AF26 #26AF51
monochromatic
#3F104A #6A1B7D #9526AF #B83DD5 #CB70E0

Accessibility & contrast

On white

6.62
#9526AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9526AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9526AF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9526AF#FFFFFF#000000##FFFFFF
##9526AF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#95446A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9526af;
/* rgb */ color: rgb(149, 38, 175);
/* oklch */ color: oklch(50.5% 0.213 319.0);
Tailwind
colors: {
  custom: {
    50: '#b86ec8',
    500: '#9526af',
    950: '#000000',
  },
}
SCSS
$custom: #9526af;
$custom-light: #b86ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#9526af",
  "rgb": {
    "r": 149,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 288.613,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50524,
    "c": 0.21252,
    "h": 319
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#9526AF
secondary
#7CC76A
accent
#E74060
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9526AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9526AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva