#9520B3#9520B3

#9520B3 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.4% C 0.221 H 318.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9520B3
RGBrgb(149, 32, 179)
HSLhsl(288, 70%, 41%)
HSVhsv(288, 82%, 70%)
CMYKcmyk(16.8%, 82.1%, 0%, 29.8%)
CIE-LABlab(39.03, 65.28, -52.52)
CIE-LCHlch(39.03, 83.79, 321.18°)
OKLaboklab(50.38% 0.1643 -0.1479)
OKLCHoklch(50.38% 0.221 318)
XYZxyz(21.0465, 10.6783, 43.5916)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9520B3 #3EB320
analogous
#4C20B3 #9520B3 #B32088
triadic
#9520B3 #B39520 #20B395
tetradic
#9520B3 #B34C20 #3EB320 #2088B3
square
#9520B3 #B34C20 #3EB320 #2088B3
split-complementary
#9520B3 #88B320 #20B34C
monochromatic
#3F0D4B #6A177F #9520B3 #B935DB #CB69E4

Accessibility & contrast

On white

6.70
#9520B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9520B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9520B3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9520B3#FFFFFF#000000##FFFFFF
##9520B31.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#275FB0
Tritanopia (blue-blind)
#94436B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9520b3;
/* rgb */ color: rgb(149, 32, 179);
/* oklch */ color: oklch(50.4% 0.221 318.0);
Tailwind
colors: {
  custom: {
    50: '#b96cca',
    500: '#9520b3',
    950: '#000000',
  },
}
SCSS
$custom: #9520b3;
$custom-light: #b96cca;
$custom-dark: #000000;
JSON
{
  "hex": "#9520b3",
  "rgb": {
    "r": 149,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 287.755,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50377,
    "c": 0.22109,
    "h": 318
  },
  "luminance": 0.10677
}

Semantic roles & 50–950 ramp

primary
#9520B3
secondary
#7ACA65
accent
#EC3B5F
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9520B3

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

Preview Lab → · Contrast checker → · Palette generator →

#9520B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva