#8945BB#8945BB

#8945BB is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.182 H 307.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8945BB
RGBrgb(137, 69, 187)
HSLhsl(275, 46%, 50%)
HSVhsv(275, 63%, 73%)
CMYKcmyk(26.7%, 63.1%, 0%, 26.7%)
CIE-LABlab(43.01, 49.89, -50.92)
CIE-LCHlch(43.01, 71.29, 314.42°)
OKLaboklab(53.03% 0.1119 -0.1438)
OKLCHoklch(53.03% 0.182 307.9)
XYZxyz(21.4125, 13.1628, 48.4167)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945BB #77BB45
analogous
#4E45BB #8945BB #BB45B2
triadic
#8945BB #BB8945 #45BB89
tetradic
#8945BB #BB4E45 #77BB45 #45B2BB
square
#8945BB #BB4E45 #77BB45 #45B2BB
split-complementary
#8945BB #B2BB45 #45BB4E
monochromatic
#482462 #68348F #8945BB #A572CB #C29FDC

Accessibility & contrast

On white

5.78
#8945BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8945BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945BB
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945BB#FFFFFF#000000##FFFFFF
##8945BB1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3066B8
Tritanopia (blue-blind)
#815D7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8945bb;
/* rgb */ color: rgb(137, 69, 187);
/* oklch */ color: oklch(53.0% 0.182 307.9);
Tailwind
colors: {
  custom: {
    50: '#af7dd0',
    500: '#8945bb',
    950: '#000000',
  },
}
SCSS
$custom: #8945bb;
$custom-light: #af7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8945bb",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 274.576,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53026,
    "c": 0.18224,
    "h": 307.9
  },
  "luminance": 0.13162
}

Semantic roles & 50–950 ramp

primary
#8945BB
secondary
#AAC894
accent
#D6528A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8945BB

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

Preview Lab → · Contrast checker → · Palette generator →

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