#9541CD#9541CD

#9541CD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.210 H 308.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9541CD
RGBrgb(149, 65, 205)
HSLhsl(276, 58%, 53%)
HSVhsv(276, 68%, 80%)
CMYKcmyk(27.3%, 68.3%, 0%, 19.6%)
CIE-LABlab(45.05, 58.49, -58.00)
CIE-LCHlch(45.05, 82.37, 315.24°)
OKLaboklab(55.21% 0.1307 -0.1642)
OKLCHoklch(55.21% 0.21 308.5)
XYZxyz(25.3019, 14.5783, 59.2268)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541CD #79CD41
analogous
#4F41CD #9541CD #CD41BF
triadic
#9541CD #CD9541 #41CD95
tetradic
#9541CD #CD4F41 #79CD41 #41BFCD
square
#9541CD #CD4F41 #79CD41 #41BFCD
split-complementary
#9541CD #BFCD41 #41CD4F
monochromatic
#521F75 #752CA5 #9541CD #B071DA #CBA2E6

Accessibility & contrast

On white

5.36
#9541CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9541CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541CD#FFFFFF#000000##FFFFFF
##9541CD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#236CCA
Tritanopia (blue-blind)
#8C6082
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9541cd;
/* rgb */ color: rgb(149, 65, 205);
/* oklch */ color: oklch(55.2% 0.210 308.5);
Tailwind
colors: {
  custom: {
    50: '#b97cdd',
    500: '#9541cd',
    950: '#000000',
  },
}
SCSS
$custom: #9541cd;
$custom-light: #b97cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9541cd",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 276,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55205,
    "c": 0.20989,
    "h": 308.5
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#9541CD
secondary
#AFD397
accent
#E24684
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9541CD

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

Preview Lab → · Contrast checker → · Palette generator →

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