#9526CA#9526CA

#9526CA is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.5% C 0.235 H 311.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9526CA
RGBrgb(149, 38, 202)
HSLhsl(281, 68%, 47%)
HSVhsv(281, 81%, 79%)
CMYKcmyk(26.2%, 81.2%, 0%, 20.8%)
CIE-LABlab(41.28, 68.01, -62.37)
CIE-LCHlch(41.28, 92.28, 317.48°)
OKLaboklab(52.47% 0.1553 -0.1769)
OKLCHoklch(52.47% 0.235 311.3)
XYZxyz(23.7462, 12.0407, 56.9388)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9526CA #5BCA26
analogous
#4326CA #9526CA #CA26AD
triadic
#9526CA #CA9526 #26CA95
tetradic
#9526CA #CA4326 #5BCA26 #26ADCA
square
#9526CA #CA4326 #5BCA26 #26ADCA
split-complementary
#9526CA #ADCA26 #26CA43
monochromatic
#491363 #6F1C96 #9526CA #B04FDE #C783E8

Accessibility & contrast

On white

6.16
#9526CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9526CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9526CA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9526CA#FFFFFF#000000##FFFFFF
##9526CA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#8E517A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9526ca;
/* rgb */ color: rgb(149, 38, 202);
/* oklch */ color: oklch(52.5% 0.235 311.3);
Tailwind
colors: {
  custom: {
    50: '#ba6fdb',
    500: '#9526ca',
    950: '#000000',
  },
}
SCSS
$custom: #9526ca;
$custom-light: #ba6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9526ca",
  "rgb": {
    "r": 149,
    "g": 38,
    "b": 202
  },
  "hsl": {
    "h": 280.61,
    "s": 68.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.23541,
    "h": 311.3
  },
  "luminance": 0.1204
}

Semantic roles & 50–950 ramp

primary
#9526CA
secondary
#97D17B
accent
#EB3D75
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #9526CA

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

Preview Lab → · Contrast checker → · Palette generator →

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