#8541CB#8541CB

#8541CB is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.204 H 302.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8541CB
RGBrgb(133, 65, 203)
HSLhsl(270, 57%, 53%)
HSVhsv(270, 68%, 80%)
CMYKcmyk(34.5%, 68%, 0%, 20.4%)
CIE-LABlab(42.88, 54.77, -60.45)
CIE-LCHlch(42.88, 81.57, 312.18°)
OKLaboklab(53.17% 0.1096 -0.172)
OKLCHoklch(53.17% 0.204 302.5)
XYZxyz(22.3401, 13.0789, 57.8359)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541CB #87CB41
analogous
#4142CB #8541CB #CA41CB
triadic
#8541CB #CB8541 #41CB85
tetradic
#8541CB #CB4142 #87CB41 #41CBCA
square
#8541CB #CB4142 #87CB41 #41CBCA
split-complementary
#8541CB #CBCA41 #42CB41
monochromatic
#481F72 #672CA2 #8541CB #A471D8 #C3A1E5

Accessibility & contrast

On white

5.81
#8541CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8541CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541CB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541CB#FFFFFF#000000##FFFFFF
##8541CB1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#776181
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8541cb;
/* rgb */ color: rgb(133, 65, 203);
/* oklch */ color: oklch(53.2% 0.204 302.5);
Tailwind
colors: {
  custom: {
    50: '#ae7adc',
    500: '#8541cb',
    950: '#000000',
  },
}
SCSS
$custom: #8541cb;
$custom-light: #ae7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8541cb",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 269.565,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53171,
    "c": 0.20394,
    "h": 302.5
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#8541CB
secondary
#B4D296
accent
#E04895
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8541CB

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

Preview Lab → · Contrast checker → · Palette generator →

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