#9541C7#9541C7

#9541C7 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.8% C 0.204 H 310.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9541C7
RGBrgb(149, 65, 199)
HSLhsl(278, 54%, 52%)
HSVhsv(278, 67%, 78%)
CMYKcmyk(25.1%, 67.3%, 0%, 22%)
CIE-LABlab(44.65, 57.17, -55.18)
CIE-LCHlch(44.65, 79.46, 316.02°)
OKLaboklab(54.79% 0.1313 -0.1559)
OKLCHoklch(54.79% 0.204 310.1)
XYZxyz(24.5915, 14.2942, 55.4854)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541C7 #73C741
analogous
#5241C7 #9541C7 #C741B6
triadic
#9541C7 #C79541 #41C795
tetradic
#9541C7 #C75241 #73C741 #41B6C7
square
#9541C7 #C75241 #73C741 #41B6C7
split-complementary
#9541C7 #B6C741 #41C752
monochromatic
#51206D #732E9D #9541C7 #AF70D5 #CAA0E3

Accessibility & contrast

On white

5.44
#9541C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9541C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541C7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541C7#FFFFFF#000000##FFFFFF
##9541C71.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#2C6BC4
Tritanopia (blue-blind)
#8E5D7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9541c7;
/* rgb */ color: rgb(149, 65, 199);
/* oklch */ color: oklch(54.8% 0.204 310.1);
Tailwind
colors: {
  custom: {
    50: '#b87cd9',
    500: '#9541c7',
    950: '#000000',
  },
}
SCSS
$custom: #9541c7;
$custom-light: #b87cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9541c7",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 277.612,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.20385,
    "h": 310.1
  },
  "luminance": 0.14294
}

Semantic roles & 50–950 ramp

primary
#9541C7
secondary
#AACF95
accent
#DE4A81
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9541C7

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

Preview Lab → · Contrast checker → · Palette generator →

#9541C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva