#9541C2#9541C2

#9541C2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.5% C 0.199 H 311.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9541C2
RGBrgb(149, 65, 194)
HSLhsl(279, 51%, 51%)
HSVhsv(279, 66%, 76%)
CMYKcmyk(23.2%, 66.5%, 0%, 23.9%)
CIE-LABlab(44.33, 56.09, -52.80)
CIE-LCHlch(44.33, 77.03, 316.73°)
OKLaboklab(54.46% 0.1317 -0.1489)
OKLCHoklch(54.46% 0.199 311.5)
XYZxyz(24.0205, 14.0658, 52.4781)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541C2 #6EC241
analogous
#5441C2 #9541C2 #C241AE
triadic
#9541C2 #C29541 #41C295
tetradic
#9541C2 #C25441 #6EC241 #41AEC2
square
#9541C2 #C25441 #6EC241 #41AEC2
split-complementary
#9541C2 #AEC241 #41C254
monochromatic
#4F2167 #723096 #9541C2 #AF6FD1 #C99EE0

Accessibility & contrast

On white

5.51
#9541C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9541C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541C2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541C2#FFFFFF#000000##FFFFFF
##9541C21.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)
#0065C6
Deuteranopia (green-blind)
#336ABF
Tritanopia (blue-blind)
#905B7C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9541c2;
/* rgb */ color: rgb(149, 65, 194);
/* oklch */ color: oklch(54.5% 0.199 311.5);
Tailwind
colors: {
  custom: {
    50: '#b87bd5',
    500: '#9541c2',
    950: '#000000',
  },
}
SCSS
$custom: #9541c2;
$custom-light: #b87bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9541c2",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 279.07,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.19884,
    "h": 311.5
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

primary
#9541C2
secondary
#A7CC93
accent
#DB4D7E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9541C2

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

Preview Lab → · Contrast checker → · Palette generator →

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