#8941D2#8941D2

#8941D2 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.212 H 302.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8941D2
RGBrgb(137, 65, 210)
HSLhsl(270, 62%, 54%)
HSVhsv(270, 69%, 82%)
CMYKcmyk(34.8%, 69%, 0%, 17.6%)
CIE-LABlab(43.88, 57.23, -62.86)
CIE-LCHlch(43.88, 85.01, 312.32°)
OKLaboklab(54.15% 0.1141 -0.1789)
OKLCHoklch(54.15% 0.212 302.5)
XYZxyz(23.8369, 13.7521, 62.3589)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8941D2 #8AD241
analogous
#4142D2 #8941D2 #D241D2
triadic
#8941D2 #D28941 #41D289
tetradic
#8941D2 #D24142 #8AD241 #41D2D2
square
#8941D2 #D24142 #8AD241 #41D2D2
split-complementary
#8941D2 #D2D241 #42D241
monochromatic
#4C1D7B #6A29AD #8941D2 #A872DE #C6A4E9

Accessibility & contrast

On white

5.60
#8941D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8941D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8941D2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8941D2#FFFFFF#000000##FFFFFF
##8941D21.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#7A6385
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8941d2;
/* rgb */ color: rgb(137, 65, 210);
/* oklch */ color: oklch(54.1% 0.212 302.5);
Tailwind
colors: {
  custom: {
    50: '#b17be1',
    500: '#8941d2',
    950: '#000000',
  },
}
SCSS
$custom: #8941d2;
$custom-light: #b17be1;
$custom-dark: #000000;
JSON
{
  "hex": "#8941d2",
  "rgb": {
    "r": 137,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 269.793,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54147,
    "c": 0.21217,
    "h": 302.5
  },
  "luminance": 0.13752
}

Semantic roles & 50–950 ramp

primary
#8941D2
secondary
#B8D698
accent
#E54394
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8941D2

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

Preview Lab → · Contrast checker → · Palette generator →

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