#9542BF#9542BF

#9542BF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.4% C 0.194 H 312.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9542BF
RGBrgb(149, 66, 191)
HSLhsl(280, 49%, 50%)
HSVhsv(280, 65%, 75%)
CMYKcmyk(22%, 65.4%, 0%, 25.1%)
CIE-LABlab(44.30, 54.98, -51.09)
CIE-LCHlch(44.30, 75.06, 317.10°)
OKLaboklab(54.38% 0.1308 -0.1439)
OKLCHoklch(54.38% 0.194 312.3)
XYZxyz(23.7449, 14.0482, 50.7409)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9542BF #6CBF42
analogous
#5642BF #9542BF #BF42AA
triadic
#9542BF #BF9542 #42BF95
tetradic
#9542BF #BF5642 #6CBF42 #42AABF
square
#9542BF #BF5642 #6CBF42 #42AABF
split-complementary
#9542BF #AABF42 #42BF56
monochromatic
#4E2265 #723292 #9542BF #AF70CE #C89DDE

Accessibility & contrast

On white

5.51
#9542BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9542BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9542BF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9542BF#FFFFFF#000000##FFFFFF
##9542BF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#376ABC
Tritanopia (blue-blind)
#905B7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9542bf;
/* rgb */ color: rgb(149, 66, 191);
/* oklch */ color: oklch(54.4% 0.194 312.3);
Tailwind
colors: {
  custom: {
    50: '#b87cd3',
    500: '#9542bf',
    950: '#000000',
  },
}
SCSS
$custom: #9542bf;
$custom-light: #b87cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9542bf",
  "rgb": {
    "r": 149,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 279.84,
    "s": 49.407,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54377,
    "c": 0.19448,
    "h": 312.3
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#9542BF
secondary
#A5CA93
accent
#D94F7D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9542BF

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

Preview Lab → · Contrast checker → · Palette generator →

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