#8C48AF#8C48AF

#8C48AF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.0% C 0.166 H 312.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8C48AF
RGBrgb(140, 72, 175)
HSLhsl(280, 42%, 48%)
HSVhsv(280, 59%, 69%)
CMYKcmyk(20%, 58.9%, 0%, 31.4%)
CIE-LABlab(43.22, 46.38, -43.50)
CIE-LCHlch(43.22, 63.59, 316.83°)
OKLaboklab(53.03% 0.1122 -0.122)
OKLCHoklch(53.03% 0.166 312.6)
XYZxyz(20.8691, 13.3059, 42.0181)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C48AF #6BAF48
analogous
#5948AF #8C48AF #AF489E
triadic
#8C48AF #AF8C48 #48AF8C
tetradic
#8C48AF #AF5948 #6BAF48 #489EAF
square
#8C48AF #AF5948 #6BAF48 #489EAF
split-complementary
#8C48AF #9EAF48 #48AF59
monochromatic
#472458 #693684 #8C48AF #A870C4 #C29BD6

Accessibility & contrast

On white

5.74
#8C48AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8C48AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C48AF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C48AF#FFFFFF#000000##FFFFFF
##8C48AF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B2
Deuteranopia (green-blind)
#4268AC
Tritanopia (blue-blind)
#885A75
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c48af;
/* rgb */ color: rgb(140, 72, 175);
/* oklch */ color: oklch(53.0% 0.166 312.6);
Tailwind
colors: {
  custom: {
    50: '#b07ec7',
    500: '#8c48af',
    950: '#000000',
  },
}
SCSS
$custom: #8c48af;
$custom-light: #b07ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c48af",
  "rgb": {
    "r": 140,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 279.612,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53028,
    "c": 0.16575,
    "h": 312.6
  },
  "luminance": 0.13305
}

Semantic roles & 50–950 ramp

primary
#8C48AF
secondary
#A1C290
accent
#D25680
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8C48AF

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

Preview Lab → · Contrast checker → · Palette generator →

#8C48AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva