#8946AF#8946AF

#8946AF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.168 H 311.4°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8946AF
RGBrgb(137, 70, 175)
HSLhsl(278, 43%, 48%)
HSVhsv(278, 60%, 69%)
CMYKcmyk(21.7%, 60%, 0%, 31.4%)
CIE-LABlab(42.45, 46.65, -44.75)
CIE-LCHlch(42.45, 64.65, 316.19°)
OKLaboklab(52.38% 0.1109 -0.1258)
OKLCHoklch(52.38% 0.168 311.4)
XYZxyz(20.2431, 12.7943, 41.9523)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8946AF #6CAF46
analogous
#5546AF #8946AF #AF46A0
triadic
#8946AF #AF8946 #46AF89
tetradic
#8946AF #AF5546 #6CAF46 #46A0AF
square
#8946AF #AF5546 #6CAF46 #46A0AF
split-complementary
#8946AF #A0AF46 #46AF55
monochromatic
#452358 #673583 #8946AF #A56DC5 #C099D6

Accessibility & contrast

On white

5.90
#8946AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8946AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8946AF
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8946AF#FFFFFF#000000##FFFFFF
##8946AF1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#3D66AC
Tritanopia (blue-blind)
#855974
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8946af;
/* rgb */ color: rgb(137, 70, 175);
/* oklch */ color: oklch(52.4% 0.168 311.4);
Tailwind
colors: {
  custom: {
    50: '#ae7dc7',
    500: '#8946af',
    950: '#000000',
  },
}
SCSS
$custom: #8946af;
$custom-light: #ae7dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#8946af",
  "rgb": {
    "r": 137,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 278.286,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52384,
    "c": 0.16768,
    "h": 311.4
  },
  "luminance": 0.12794
}

Semantic roles & 50–950 ramp

primary
#8946AF
secondary
#A1C28E
accent
#D35583
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8946AF

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

Preview Lab → · Contrast checker → · Palette generator →

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