#9541C8#9541C8

#9541C8 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.205 H 309.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9541C8
RGBrgb(149, 65, 200)
HSLhsl(277, 55%, 52%)
HSVhsv(277, 68%, 78%)
CMYKcmyk(25.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(44.72, 57.39, -55.65)
CIE-LCHlch(44.72, 79.94, 315.88°)
OKLaboklab(54.86% 0.1312 -0.1573)
OKLCHoklch(54.86% 0.205 309.8)
XYZxyz(24.7080, 14.3408, 56.0988)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9541C8 #74C841
analogous
#5241C8 #9541C8 #C841B8
triadic
#9541C8 #C89541 #41C895
tetradic
#9541C8 #C85241 #74C841 #41B8C8
square
#9541C8 #C85241 #74C841 #41B8C8
split-complementary
#9541C8 #B8C841 #41C852
monochromatic
#51206F #742E9E #9541C8 #AF70D6 #CAA0E3

Accessibility & contrast

On white

5.43
#9541C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9541C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9541C8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9541C8#FFFFFF#000000##FFFFFF
##9541C81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#2B6BC5
Tritanopia (blue-blind)
#8E5E7F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9541c8;
/* rgb */ color: rgb(149, 65, 200);
/* oklch */ color: oklch(54.9% 0.205 309.8);
Tailwind
colors: {
  custom: {
    50: '#b87cd9',
    500: '#9541c8',
    950: '#000000',
  },
}
SCSS
$custom: #9541c8;
$custom-light: #b87cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9541c8",
  "rgb": {
    "r": 149,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 277.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.20486,
    "h": 309.8
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#9541C8
secondary
#ABD095
accent
#DE4982
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9541C8

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

Preview Lab → · Contrast checker → · Palette generator →

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