#8945AD#8945AD

#8945AD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.167 H 312.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8945AD
RGBrgb(137, 69, 173)
HSLhsl(279, 43%, 47%)
HSVhsv(279, 60%, 68%)
CMYKcmyk(20.8%, 60.1%, 0%, 32.2%)
CIE-LABlab(42.14, 46.71, -44.07)
CIE-LCHlch(42.14, 64.22, 316.67°)
OKLaboklab(52.12% 0.1122 -0.1238)
OKLCHoklch(52.12% 0.167 312.2)
XYZxyz(19.9861, 12.5922, 40.9048)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945AD #69AD45
analogous
#5545AD #8945AD #AD459D
triadic
#8945AD #AD8945 #45AD89
tetradic
#8945AD #AD5545 #69AD45 #459DAD
square
#8945AD #AD5545 #69AD45 #459DAD
split-complementary
#8945AD #9DAD45 #45AD55
monochromatic
#442255 #663481 #8945AD #A56BC4 #C097D5

Accessibility & contrast

On white

5.97
#8945AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8945AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8945AD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945AD#FFFFFF#000000##FFFFFF
##8945AD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2160B0
Deuteranopia (green-blind)
#3E65AA
Tritanopia (blue-blind)
#855872
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8945ad;
/* rgb */ color: rgb(137, 69, 173);
/* oklch */ color: oklch(52.1% 0.167 312.2);
Tailwind
colors: {
  custom: {
    50: '#ae7cc6',
    500: '#8945ad',
    950: '#000000',
  },
}
SCSS
$custom: #8945ad;
$custom-light: #ae7cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8945ad",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 279.231,
    "s": 42.975,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.16702,
    "h": 312.2
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#8945AD
secondary
#9FC18C
accent
#D35581
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8945AD

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

Preview Lab → · Contrast checker → · Palette generator →

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