#8945B8#8945B8

#8945B8 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.179 H 308.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8945B8
RGBrgb(137, 69, 184)
HSLhsl(275, 45%, 50%)
HSVhsv(275, 63%, 72%)
CMYKcmyk(25.5%, 62.5%, 0%, 27.8%)
CIE-LABlab(42.82, 49.20, -49.47)
CIE-LCHlch(42.82, 69.77, 314.85°)
OKLaboklab(52.83% 0.112 -0.1396)
OKLCHoklch(52.83% 0.179 308.7)
XYZxyz(21.0947, 13.0356, 46.7430)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945B8 #74B845
analogous
#4F45B8 #8945B8 #B845AE
triadic
#8945B8 #B88945 #45B889
tetradic
#8945B8 #B84F45 #74B845 #45AEB8
square
#8945B8 #B84F45 #74B845 #45AEB8
split-complementary
#8945B8 #AEB845 #45B84F
monochromatic
#47245F #68348B #8945B8 #A571CA #C19DDA

Accessibility & contrast

On white

5.82
#8945B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8945B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945B8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945B8#FFFFFF#000000##FFFFFF
##8945B81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0862BC
Deuteranopia (green-blind)
#3466B5
Tritanopia (blue-blind)
#825C78
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8945b8;
/* rgb */ color: rgb(137, 69, 184);
/* oklch */ color: oklch(52.8% 0.179 308.7);
Tailwind
colors: {
  custom: {
    50: '#af7dce',
    500: '#8945b8',
    950: '#000000',
  },
}
SCSS
$custom: #8945b8;
$custom-light: #af7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#8945b8",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 275.478,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52827,
    "c": 0.17897,
    "h": 308.7
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#8945B8
secondary
#A8C792
accent
#D55388
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8945B8

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

Preview Lab → · Contrast checker → · Palette generator →

#8945B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva