#8541D2#8541D2

#8541D2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.211 H 300.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8541D2
RGBrgb(133, 65, 210)
HSLhsl(268, 62%, 54%)
HSVhsv(268, 69%, 82%)
CMYKcmyk(36.7%, 69%, 0%, 17.6%)
CIE-LABlab(43.39, 56.46, -63.67)
CIE-LCHlch(43.39, 85.09, 311.57°)
OKLaboklab(53.69% 0.1086 -0.1814)
OKLCHoklch(53.69% 0.211 300.9)
XYZxyz(23.1932, 13.4201, 62.3287)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8541D2 #8ED241
analogous
#4146D2 #8541D2 #CE41D2
triadic
#8541D2 #D28541 #41D285
tetradic
#8541D2 #D24146 #8ED241 #41D2CE
square
#8541D2 #D24146 #8ED241 #41D2CE
split-complementary
#8541D2 #D2CE41 #46D241
monochromatic
#491D7B #6729AD #8541D2 #A572DE #C5A4E9

Accessibility & contrast

On white

5.70
#8541D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8541D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8541D2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8541D2#FFFFFF#000000##FFFFFF
##8541D21.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#746385
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8541d2;
/* rgb */ color: rgb(133, 65, 210);
/* oklch */ color: oklch(53.7% 0.211 300.9);
Tailwind
colors: {
  custom: {
    50: '#ae7be1',
    500: '#8541d2',
    950: '#000000',
  },
}
SCSS
$custom: #8541d2;
$custom-light: #ae7be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8541d2",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 268.138,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53693,
    "c": 0.21145,
    "h": 300.9
  },
  "luminance": 0.1342
}

Semantic roles & 50–950 ramp

primary
#8541D2
secondary
#B9D698
accent
#E54399
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8541D2

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

Preview Lab → · Contrast checker → · Palette generator →

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