#8945B9#8945B9

#8945B9 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.180 H 308.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8945B9
RGBrgb(137, 69, 185)
HSLhsl(275, 46%, 50%)
HSVhsv(275, 63%, 73%)
CMYKcmyk(25.9%, 62.7%, 0%, 27.5%)
CIE-LABlab(42.88, 49.43, -49.95)
CIE-LCHlch(42.88, 70.28, 314.70°)
OKLaboklab(52.89% 0.112 -0.141)
OKLCHoklch(52.89% 0.18 308.5)
XYZxyz(21.1998, 13.0777, 47.2970)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945B9 #75B945
analogous
#4F45B9 #8945B9 #B945AF
triadic
#8945B9 #B98945 #45B989
tetradic
#8945B9 #B94F45 #75B945 #45AFB9
square
#8945B9 #B94F45 #75B945 #45AFB9
split-complementary
#8945B9 #AFB945 #45B94F
monochromatic
#472460 #68348C #8945B9 #A571CA #C19EDB

Accessibility & contrast

On white

5.81
#8945B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8945B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945B9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945B9#FFFFFF#000000##FFFFFF
##8945B91.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)
#0463BD
Deuteranopia (green-blind)
#3366B6
Tritanopia (blue-blind)
#825C79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8945b9;
/* rgb */ color: rgb(137, 69, 185);
/* oklch */ color: oklch(52.9% 0.180 308.5);
Tailwind
colors: {
  custom: {
    50: '#af7dcf',
    500: '#8945b9',
    950: '#000000',
  },
}
SCSS
$custom: #8945b9;
$custom-light: #af7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8945b9",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 275.172,
    "s": 45.669,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52893,
    "c": 0.18006,
    "h": 308.5
  },
  "luminance": 0.13077
}

Semantic roles & 50–950 ramp

primary
#8945B9
secondary
#A8C793
accent
#D55289
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8945B9

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

Preview Lab → · Contrast checker → · Palette generator →

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