#9523B2#9523B2

#9523B2 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.218 H 318.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9523B2
RGBrgb(149, 35, 178)
HSLhsl(288, 67%, 42%)
HSVhsv(288, 80%, 70%)
CMYKcmyk(16.3%, 80.3%, 0%, 30.2%)
CIE-LABlab(39.25, 64.25, -51.57)
CIE-LCHlch(39.25, 82.39, 321.25°)
OKLaboklab(50.51% 0.1623 -0.1452)
OKLCHoklch(50.51% 0.218 318.2)
XYZxyz(21.0302, 10.8070, 43.0891)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9523B2 #40B223
analogous
#4E23B2 #9523B2 #B22388
triadic
#9523B2 #B29523 #23B295
tetradic
#9523B2 #B24E23 #40B223 #2388B2
square
#9523B2 #B24E23 #40B223 #2388B2
split-complementary
#9523B2 #88B223 #23B24E
monochromatic
#3F0F4C #6A197F #9523B2 #B83AD8 #CB6DE2

Accessibility & contrast

On white

6.64
#9523B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9523B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9523B2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9523B2#FFFFFF#000000##FFFFFF
##9523B21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#2A60AF
Tritanopia (blue-blind)
#94446B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9523b2;
/* rgb */ color: rgb(149, 35, 178);
/* oklch */ color: oklch(50.5% 0.218 318.2);
Tailwind
colors: {
  custom: {
    50: '#b96dca',
    500: '#9523b2',
    950: '#000000',
  },
}
SCSS
$custom: #9523b2;
$custom-light: #b96dca;
$custom-dark: #000000;
JSON
{
  "hex": "#9523b2",
  "rgb": {
    "r": 149,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 287.832,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.21774,
    "h": 318.2
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#9523B2
secondary
#7CC968
accent
#EA3E61
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9523B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9523B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva