#8945B3#8945B3

#8945B3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.174 H 310.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8945B3
RGBrgb(137, 69, 179)
HSLhsl(277, 44%, 49%)
HSVhsv(277, 61%, 70%)
CMYKcmyk(23.5%, 61.5%, 0%, 29.8%)
CIE-LABlab(42.51, 48.06, -47.03)
CIE-LCHlch(42.51, 67.24, 315.62°)
OKLaboklab(52.5% 0.1121 -0.1324)
OKLCHoklch(52.5% 0.174 310.3)
XYZxyz(20.5798, 12.8297, 44.0313)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945B3 #6FB345
analogous
#5245B3 #8945B3 #B345A6
triadic
#8945B3 #B38945 #45B389
tetradic
#8945B3 #B35245 #6FB345 #45A6B3
square
#8945B3 #B35245 #6FB345 #45A6B3
split-complementary
#8945B3 #A6B345 #45B352
monochromatic
#45235B #673487 #8945B3 #A56EC7 #C19AD8

Accessibility & contrast

On white

5.89
#8945B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8945B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945B3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945B3#FFFFFF#000000##FFFFFF
##8945B31.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B6
Deuteranopia (green-blind)
#3965B0
Tritanopia (blue-blind)
#845A75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8945b3;
/* rgb */ color: rgb(137, 69, 179);
/* oklch */ color: oklch(52.5% 0.174 310.3);
Tailwind
colors: {
  custom: {
    50: '#af7cca',
    500: '#8945b3',
    950: '#000000',
  },
}
SCSS
$custom: #8945b3;
$custom-light: #af7cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8945b3",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 277.091,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.17353,
    "h": 310.3
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#8945B3
secondary
#A4C48F
accent
#D45485
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8945B3

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

Preview Lab → · Contrast checker → · Palette generator →

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