#8945BC#8945BC

#8945BC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.183 H 307.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8945BC
RGBrgb(137, 69, 188)
HSLhsl(274, 47%, 50%)
HSVhsv(274, 63%, 74%)
CMYKcmyk(27.1%, 63.3%, 0%, 26.3%)
CIE-LABlab(43.07, 50.13, -51.40)
CIE-LCHlch(43.07, 71.80, 314.28°)
OKLaboklab(53.09% 0.1119 -0.1452)
OKLCHoklch(53.09% 0.183 307.6)
XYZxyz(21.5199, 13.2057, 48.9825)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945BC #78BC45
analogous
#4D45BC #8945BC #BC45B3
triadic
#8945BC #BC8945 #45BC89
tetradic
#8945BC #BC4D45 #78BC45 #45B3BC
square
#8945BC #BC4D45 #78BC45 #45B3BC
split-complementary
#8945BC #B3BC45 #45BC4D
monochromatic
#482463 #683490 #8945BC #A672CC #C29FDC

Accessibility & contrast

On white

5.77
#8945BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8945BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945BC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945BC#FFFFFF#000000##FFFFFF
##8945BC1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#2F66B9
Tritanopia (blue-blind)
#815D7A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8945bc;
/* rgb */ color: rgb(137, 69, 188);
/* oklch */ color: oklch(53.1% 0.183 307.6);
Tailwind
colors: {
  custom: {
    50: '#af7dd1',
    500: '#8945bc',
    950: '#000000',
  },
}
SCSS
$custom: #8945bc;
$custom-light: #af7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8945bc",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 274.286,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53093,
    "c": 0.18332,
    "h": 307.6
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#8945BC
secondary
#ABC994
accent
#D7518A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8945BC

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

Preview Lab → · Contrast checker → · Palette generator →

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