#8948A4#8948A4

#8948A4 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.0% C 0.153 H 315.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8948A4
RGBrgb(137, 72, 164)
HSLhsl(282, 39%, 46%)
HSVhsv(282, 56%, 64%)
CMYKcmyk(16.5%, 56.1%, 0%, 35.7%)
CIE-LABlab(42.21, 43.16, -38.62)
CIE-LCHlch(42.21, 57.92, 318.18°)
OKLaboklab(52% 0.1078 -0.1079)
OKLCHoklch(52% 0.153 315)
XYZxyz(19.3337, 12.6340, 36.5349)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948A4 #63A448
analogous
#5B48A4 #8948A4 #A44891
triadic
#8948A4 #A48948 #48A489
tetradic
#8948A4 #A45B48 #63A448 #4891A4
square
#8948A4 #A45B48 #63A448 #4891A4
split-complementary
#8948A4 #91A448 #48A45B
monochromatic
#42234F #653579 #8948A4 #A66BBE #BF96D1

Accessibility & contrast

On white

5.95
#8948A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8948A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948A4
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948A4#FFFFFF#000000##FFFFFF
##8948A41.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A7
Deuteranopia (green-blind)
#4765A2
Tritanopia (blue-blind)
#87576F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8948a4;
/* rgb */ color: rgb(137, 72, 164);
/* oklch */ color: oklch(52.0% 0.153 315.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ebf',
    500: '#8948a4',
    950: '#000000',
  },
}
SCSS
$custom: #8948a4;
$custom-light: #ae7ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#8948a4",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 282.391,
    "s": 38.983,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.15252,
    "h": 315
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#8948A4
secondary
#9ABD8B
accent
#CF597C
background
#FAF7FB
surface
#F5EEF7
border
#CFC9D0
text
#110A12
muted
#807C81

Preview Lab

Preview with #8948A4

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

Preview Lab → · Contrast checker → · Palette generator →

#8948A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva