#9542B3#9542B3

#9542B3 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.182 H 316.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9542B3
RGBrgb(149, 66, 179)
HSLhsl(284, 46%, 48%)
HSVhsv(284, 63%, 70%)
CMYKcmyk(16.8%, 63.1%, 0%, 29.8%)
CIE-LABlab(43.57, 52.44, -45.24)
CIE-LCHlch(43.57, 69.26, 319.22°)
OKLaboklab(53.61% 0.1312 -0.1268)
OKLCHoklch(53.61% 0.182 316)
XYZxyz(22.4781, 13.5415, 44.0688)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9542B3 #60B342
analogous
#5D42B3 #9542B3 #B34298
triadic
#9542B3 #B39542 #42B395
tetradic
#9542B3 #B35D42 #60B342 #4298B3
square
#9542B3 #B35D42 #60B342 #4298B3
split-complementary
#9542B3 #98B342 #42B35D
monochromatic
#4B215A #703286 #9542B3 #AF6AC8 #C797D9

Accessibility & contrast

On white

5.66
#9542B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9542B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9542B3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9542B3#FFFFFF#000000##FFFFFF
##9542B31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B62B6
Deuteranopia (green-blind)
#4269B0
Tritanopia (blue-blind)
#935674
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9542b3;
/* rgb */ color: rgb(149, 66, 179);
/* oklch */ color: oklch(53.6% 0.182 316.0);
Tailwind
colors: {
  custom: {
    50: '#b77cca',
    500: '#9542b3',
    950: '#000000',
  },
}
SCSS
$custom: #9542b3;
$custom-light: #b77cca;
$custom-dark: #000000;
JSON
{
  "hex": "#9542b3",
  "rgb": {
    "r": 149,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 284.071,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53611,
    "c": 0.18244,
    "h": 316
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#9542B3
secondary
#9BC48C
accent
#D65275
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9542B3

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

Preview Lab → · Contrast checker → · Palette generator →

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