#8745A7#8745A7

#8745A7 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.5% C 0.160 H 313.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#8745A7
RGBrgb(135, 69, 167)
HSLhsl(280, 42%, 46%)
HSVhsv(280, 59%, 65%)
CMYKcmyk(19.2%, 58.7%, 0%, 34.5%)
CIE-LABlab(41.53, 44.87, -41.50)
CIE-LCHlch(41.53, 61.12, 317.23°)
OKLaboklab(51.5% 0.1095 -0.1163)
OKLCHoklch(51.5% 0.16 313.3)
XYZxyz(19.0937, 12.1977, 37.9003)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745A7 #65A745
analogous
#5645A7 #8745A7 #A74596
triadic
#8745A7 #A78745 #45A787
tetradic
#8745A7 #A75645 #65A745 #4596A7
square
#8745A7 #A75645 #65A745 #4596A7
split-complementary
#8745A7 #96A745 #45A756
monochromatic
#412150 #64337C #8745A7 #A468C1 #BE94D3

Accessibility & contrast

On white

6.11
#8745A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8745A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8745A7#FFFFFF#000000##FFFFFF
##8745A71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275EAA
Deuteranopia (green-blind)
#4164A5
Tritanopia (blue-blind)
#84566F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8745a7;
/* rgb */ color: rgb(135, 69, 167);
/* oklch */ color: oklch(51.5% 0.160 313.3);
Tailwind
colors: {
  custom: {
    50: '#ad7cc2',
    500: '#8745a7',
    950: '#000000',
  },
}
SCSS
$custom: #8745a7;
$custom-light: #ad7cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8745a7",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 280.408,
    "s": 41.525,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51502,
    "c": 0.15972,
    "h": 313.3
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#8745A7
secondary
#9BBE89
accent
#D1567F
background
#FAF7FB
surface
#F5EEF7
border
#CFC9D0
text
#100A12
muted
#7F7C81

Preview Lab

Preview with #8745A7

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

Preview Lab → · Contrast checker → · Palette generator →

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