#9541CA#9541CA

#9541CA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.0% C 0.207 H 309.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9541CA
RGBrgb(149, 65, 202)
HSLhsl(277, 56%, 52%)
HSVhsv(277, 68%, 79%)
CMYKcmyk(26.2%, 67.8%, 0%, 20.8%)
CIE-LABlab(44.85, 57.83, -56.59)
CIE-LCHlch(44.85, 80.91, 315.62°)
OKLaboklab(55% 0.131 -0.1601)
OKLCHoklch(55% 0.207 309.3)
XYZxyz(24.9433, 14.4349, 57.3379)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541CA #76CA41
analogous
#5041CA #9541CA #CA41BB
triadic
#9541CA #CA9541 #41CA95
tetradic
#9541CA #CA5041 #76CA41 #41BBCA
square
#9541CA #CA5041 #76CA41 #41BBCA
split-complementary
#9541CA #BBCA41 #41CA50
monochromatic
#522071 #742DA1 #9541CA #B071D7 #CAA1E5

Accessibility & contrast

On white

5.40
#9541CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9541CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541CA#FFFFFF#000000##FFFFFF
##9541CA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#286BC7
Tritanopia (blue-blind)
#8D5E80
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9541ca;
/* rgb */ color: rgb(149, 65, 202);
/* oklch */ color: oklch(55.0% 0.207 309.3);
Tailwind
colors: {
  custom: {
    50: '#b87cdb',
    500: '#9541ca',
    950: '#000000',
  },
}
SCSS
$custom: #9541ca;
$custom-light: #b87cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9541ca",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 276.788,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54997,
    "c": 0.20687,
    "h": 309.3
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#9541CA
secondary
#ADD196
accent
#E04883
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9541CA

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

Preview Lab → · Contrast checker → · Palette generator →

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