#8A48D0#8A48D0

#8A48D0 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.0% C 0.201 H 302.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8A48D0
RGBrgb(138, 72, 208)
HSLhsl(269, 59%, 55%)
HSVhsv(269, 65%, 82%)
CMYKcmyk(33.7%, 65.4%, 0%, 18.4%)
CIE-LABlab(45.07, 53.59, -59.77)
CIE-LCHlch(45.07, 80.27, 311.88°)
OKLaboklab(54.98% 0.1082 -0.1698)
OKLCHoklch(54.98% 0.201 302.5)
XYZxyz(24.1811, 14.5920, 61.2049)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A48D0 #8ED048
analogous
#484AD0 #8A48D0 #CE48D0
triadic
#8A48D0 #D08A48 #48D08A
tetradic
#8A48D0 #D0484A #8ED048 #48D0CE
square
#8A48D0 #D0484A #8ED048 #48D0CE
split-complementary
#8A48D0 #D0CE48 #4AD048
monochromatic
#4D207D #6B2DAE #8A48D0 #A979DD #C8A9E9

Accessibility & contrast

On white

5.36
#8A48D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8A48D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A48D0
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A48D0#FFFFFF#000000##FFFFFF
##8A48D01.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#106ACD
Tritanopia (blue-blind)
#7C6686
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a48d0;
/* rgb */ color: rgb(138, 72, 208);
/* oklch */ color: oklch(55.0% 0.201 302.5);
Tailwind
colors: {
  custom: {
    50: '#b17fdf',
    500: '#8a48d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a48d0;
$custom-light: #b17fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a48d0",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 269.118,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54985,
    "c": 0.20137,
    "h": 302.5
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#8A48D0
secondary
#BBD79D
accent
#E24596
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A48D0

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

Preview Lab → · Contrast checker → · Palette generator →

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