#8745AA#8745AA

#8745AA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.163 H 312.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8745AA
RGBrgb(135, 69, 170)
HSLhsl(279, 42%, 47%)
HSVhsv(279, 59%, 67%)
CMYKcmyk(20.6%, 59.4%, 0%, 33.3%)
CIE-LABlab(41.70, 45.53, -43.00)
CIE-LCHlch(41.70, 62.63, 316.64°)
OKLaboklab(51.69% 0.1095 -0.1207)
OKLCHoklch(51.69% 0.163 312.2)
XYZxyz(19.3742, 12.3099, 39.3779)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745AA #68AA45
analogous
#5545AA #8745AA #AA459B
triadic
#8745AA #AA8745 #45AA87
tetradic
#8745AA #AA5545 #68AA45 #459BAA
square
#8745AA #AA5545 #68AA45 #459BAA
split-complementary
#8745AA #9BAA45 #45AA55
monochromatic
#422253 #64337E #8745AA #A46AC2 #BE95D4

Accessibility & contrast

On white

6.07
#8745AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8745AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745AA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745AA#FFFFFF#000000##FFFFFF
##8745AA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAD
Deuteranopia (green-blind)
#3E64A8
Tritanopia (blue-blind)
#835771
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8745aa;
/* rgb */ color: rgb(135, 69, 170);
/* oklch */ color: oklch(51.7% 0.163 312.2);
Tailwind
colors: {
  custom: {
    50: '#ad7cc4',
    500: '#8745aa',
    950: '#000000',
  },
}
SCSS
$custom: #8745aa;
$custom-light: #ad7cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8745aa",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 279.208,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51687,
    "c": 0.163,
    "h": 312.2
  },
  "luminance": 0.12309
}

Semantic roles & 50–950 ramp

primary
#8745AA
secondary
#9DC08B
accent
#D25681
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #8745AA

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

Preview Lab → · Contrast checker → · Palette generator →

#8745AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva