#9541CB#9541CB

#9541CB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.208 H 309.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9541CB
RGBrgb(149, 65, 203)
HSLhsl(277, 57%, 53%)
HSVhsv(277, 68%, 80%)
CMYKcmyk(26.6%, 68%, 0%, 20.4%)
CIE-LABlab(44.92, 58.05, -57.06)
CIE-LCHlch(44.92, 81.40, 315.49°)
OKLaboklab(55.07% 0.1309 -0.1615)
OKLCHoklch(55.07% 0.208 309)
XYZxyz(25.0621, 14.4824, 57.9635)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541CB #77CB41
analogous
#5041CB #9541CB #CB41BC
triadic
#9541CB #CB9541 #41CB95
tetradic
#9541CB #CB5041 #77CB41 #41BCCB
square
#9541CB #CB5041 #77CB41 #41BCCB
split-complementary
#9541CB #BCCB41 #41CB50
monochromatic
#521F72 #742CA2 #9541CB #B071D8 #CBA1E5

Accessibility & contrast

On white

5.39
#9541CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9541CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541CB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541CB#FFFFFF#000000##FFFFFF
##9541CB1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#8D5F81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9541cb;
/* rgb */ color: rgb(149, 65, 203);
/* oklch */ color: oklch(55.1% 0.208 309.0);
Tailwind
colors: {
  custom: {
    50: '#b87cdc',
    500: '#9541cb',
    950: '#000000',
  },
}
SCSS
$custom: #9541cb;
$custom-light: #b87cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9541cb",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 276.522,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55066,
    "c": 0.20788,
    "h": 309
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9541CB

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

Preview Lab → · Contrast checker → · Palette generator →

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