#8945BD#8945BD

#8945BD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.2% C 0.184 H 307.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8945BD
RGBrgb(137, 69, 189)
HSLhsl(274, 48%, 51%)
HSVhsv(274, 63%, 74%)
CMYKcmyk(27.5%, 63.5%, 0%, 25.9%)
CIE-LABlab(43.14, 50.36, -51.88)
CIE-LCHlch(43.14, 72.30, 314.15°)
OKLaboklab(53.16% 0.1118 -0.1467)
OKLCHoklch(53.16% 0.184 307.3)
XYZxyz(21.6280, 13.2490, 49.5522)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945BD #79BD45
analogous
#4D45BD #8945BD #BD45B5
triadic
#8945BD #BD8945 #45BD89
tetradic
#8945BD #BD4D45 #79BD45 #45B5BD
square
#8945BD #BD4D45 #79BD45 #45B5BD
split-complementary
#8945BD #B5BD45 #45BD4D
monochromatic
#482464 #693491 #8945BD #A672CD #C29FDD

Accessibility & contrast

On white

5.75
#8945BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8945BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945BD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945BD#FFFFFF#000000##FFFFFF
##8945BD1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#2E66BA
Tritanopia (blue-blind)
#815E7B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8945bd;
/* rgb */ color: rgb(137, 69, 189);
/* oklch */ color: oklch(53.2% 0.184 307.3);
Tailwind
colors: {
  custom: {
    50: '#af7dd1',
    500: '#8945bd',
    950: '#000000',
  },
}
SCSS
$custom: #8945bd;
$custom-light: #af7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8945bd",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 274,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.18442,
    "h": 307.3
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#8945BD
secondary
#ABCA94
accent
#D7518B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8945BD

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

Preview Lab → · Contrast checker → · Palette generator →

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