#8A48A3#8A48A3

#8A48A3 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.1% C 0.152 H 315.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A48A3
RGBrgb(138, 72, 163)
HSLhsl(284, 39%, 46%)
HSVhsv(284, 56%, 64%)
CMYKcmyk(15.3%, 55.8%, 0%, 36.1%)
CIE-LABlab(42.28, 43.22, -37.90)
CIE-LCHlch(42.28, 57.48, 318.75°)
OKLaboklab(52.07% 0.109 -0.1057)
OKLCHoklch(52.07% 0.152 315.9)
XYZxyz(19.4084, 12.6830, 36.0689)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A48A3 #61A348
analogous
#5C48A3 #8A48A3 #A3488E
triadic
#8A48A3 #A38A48 #48A38A
tetradic
#8A48A3 #A35C48 #61A348 #488EA3
square
#8A48A3 #A35C48 #61A348 #488EA3
split-complementary
#8A48A3 #8EA348 #48A35C
monochromatic
#42224E #663579 #8A48A3 #A76BBD #C095D0

Accessibility & contrast

On white

5.94
#8A48A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8A48A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A48A3
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A48A3#FFFFFF#000000##FFFFFF
##8A48A31.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A6
Deuteranopia (green-blind)
#4866A1
Tritanopia (blue-blind)
#89576E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a48a3;
/* rgb */ color: rgb(138, 72, 163);
/* oklch */ color: oklch(52.1% 0.152 315.9);
Tailwind
colors: {
  custom: {
    50: '#ae7ebf',
    500: '#8a48a3',
    950: '#000000',
  },
}
SCSS
$custom: #8a48a3;
$custom-light: #ae7ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a48a3",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 283.516,
    "s": 38.723,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.15188,
    "h": 315.9
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#8A48A3
secondary
#98BC8B
accent
#CF5979
background
#FAF7FB
surface
#F5EEF7
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8A48A3

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

Preview Lab → · Contrast checker → · Palette generator →

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