#8945AF#8945AF

#8945AF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.169 H 311.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8945AF
RGBrgb(137, 69, 175)
HSLhsl(278, 43%, 48%)
HSVhsv(278, 61%, 69%)
CMYKcmyk(21.7%, 60.6%, 0%, 31.4%)
CIE-LABlab(42.26, 47.16, -45.06)
CIE-LCHlch(42.26, 65.22, 316.31°)
OKLaboklab(52.25% 0.1122 -0.1267)
OKLCHoklch(52.25% 0.169 311.5)
XYZxyz(20.1811, 12.6702, 41.9316)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8945AF #6BAF45
analogous
#5445AF #8945AF #AF45A0
triadic
#8945AF #AF8945 #45AF89
tetradic
#8945AF #AF5445 #6BAF45 #45A0AF
square
#8945AF #AF5445 #6BAF45 #45A0AF
split-complementary
#8945AF #A0AF45 #45AF54
monochromatic
#442257 #673483 #8945AF #A56CC5 #C098D6

Accessibility & contrast

On white

5.94
#8945AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8945AF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8945AF#FFFFFF#000000##FFFFFF
##8945AF1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B2
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#855973
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8945af;
/* rgb */ color: rgb(137, 69, 175);
/* oklch */ color: oklch(52.2% 0.169 311.5);
Tailwind
colors: {
  custom: {
    50: '#ae7cc7',
    500: '#8945af',
    950: '#000000',
  },
}
SCSS
$custom: #8945af;
$custom-light: #ae7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8945af",
  "rgb": {
    "r": 137,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 278.491,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52246,
    "c": 0.16918,
    "h": 311.5
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8945AF

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

Preview Lab → · Contrast checker → · Palette generator →

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