#9542BE#9542BE

#9542BE is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.3% C 0.193 H 312.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9542BE
RGBrgb(149, 66, 190)
HSLhsl(280, 49%, 50%)
HSVhsv(280, 65%, 75%)
CMYKcmyk(21.6%, 65.3%, 0%, 25.5%)
CIE-LABlab(44.24, 54.77, -50.61)
CIE-LCHlch(44.24, 74.57, 317.26°)
OKLaboklab(54.31% 0.1308 -0.1425)
OKLCHoklch(54.31% 0.193 312.5)
XYZxyz(23.6353, 14.0043, 50.1633)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9542BE #6BBE42
analogous
#5742BE #9542BE #BE42A9
triadic
#9542BE #BE9542 #42BE95
tetradic
#9542BE #BE5742 #6BBE42 #42A9BE
square
#9542BE #BE5742 #6BBE42 #42A9BE
split-complementary
#9542BE #A9BE42 #42BE57
monochromatic
#4E2263 #723291 #9542BE #AF70CE #C89DDD

Accessibility & contrast

On white

5.53
#9542BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9542BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9542BE
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9542BE#FFFFFF#000000##FFFFFF
##9542BE1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#386ABB
Tritanopia (blue-blind)
#915A7A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9542be;
/* rgb */ color: rgb(149, 66, 190);
/* oklch */ color: oklch(54.3% 0.193 312.5);
Tailwind
colors: {
  custom: {
    50: '#b87cd2',
    500: '#9542be',
    950: '#000000',
  },
}
SCSS
$custom: #9542be;
$custom-light: #b87cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9542be",
  "rgb": {
    "r": 149,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 280.161,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54311,
    "c": 0.19348,
    "h": 312.5
  },
  "luminance": 0.14004
}

Semantic roles & 50–950 ramp

primary
#9542BE
secondary
#A5CA92
accent
#D84F7D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9542BE

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

Preview Lab → · Contrast checker → · Palette generator →

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