#8945AE#8945AE

#8945AE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.2% C 0.168 H 311.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8945AE
RGBrgb(137, 69, 174)
HSLhsl(279, 43%, 48%)
HSVhsv(279, 60%, 68%)
CMYKcmyk(21.3%, 60.3%, 0%, 31.8%)
CIE-LABlab(42.20, 46.94, -44.56)
CIE-LCHlch(42.20, 64.72, 316.49°)
OKLaboklab(52.18% 0.1122 -0.1252)
OKLCHoklch(52.18% 0.168 311.9)
XYZxyz(20.0833, 12.6311, 41.4163)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945AE #6AAE45
analogous
#5445AE #8945AE #AE459F
triadic
#8945AE #AE8945 #45AE89
tetradic
#8945AE #AE5445 #6AAE45 #459FAE
square
#8945AE #AE5445 #6AAE45 #459FAE
split-complementary
#8945AE #9FAE45 #45AE54
monochromatic
#442256 #663482 #8945AE #A56CC5 #C097D6

Accessibility & contrast

On white

5.96
#8945AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8945AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945AE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945AE#FFFFFF#000000##FFFFFF
##8945AE1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#3D65AB
Tritanopia (blue-blind)
#855873
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8945ae;
/* rgb */ color: rgb(137, 69, 174);
/* oklch */ color: oklch(52.2% 0.168 311.9);
Tailwind
colors: {
  custom: {
    50: '#ae7cc7',
    500: '#8945ae',
    950: '#000000',
  },
}
SCSS
$custom: #8945ae;
$custom-light: #ae7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8945ae",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 278.857,
    "s": 43.21,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.16811,
    "h": 311.9
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#8945AE
secondary
#A0C28D
accent
#D35581
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8945AE

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

Preview Lab → · Contrast checker → · Palette generator →

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