#8A48D1#8A48D1

#8A48D1 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.202 H 302.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A48D1
RGBrgb(138, 72, 209)
HSLhsl(269, 60%, 55%)
HSVhsv(269, 66%, 82%)
CMYKcmyk(34%, 65.6%, 0%, 18%)
CIE-LABlab(45.14, 53.83, -60.23)
CIE-LCHlch(45.14, 80.78, 311.79°)
OKLaboklab(55.06% 0.1081 -0.1712)
OKLCHoklch(55.06% 0.202 302.3)
XYZxyz(24.3045, 14.6414, 61.8549)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A48D1 #8FD148
analogous
#484BD1 #8A48D1 #CE48D1
triadic
#8A48D1 #D18A48 #48D18A
tetradic
#8A48D1 #D1484B #8FD148 #48D1CE
square
#8A48D1 #D1484B #8FD148 #48D1CE
split-complementary
#8A48D1 #D1CE48 #4BD148
monochromatic
#4E207F #6C2CB0 #8A48D1 #A979DD #C9AAEA

Accessibility & contrast

On white

5.35
#8A48D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8A48D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A48D1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A48D1#FFFFFF#000000##FFFFFF
##8A48D11.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD5
Deuteranopia (green-blind)
#0C6ACE
Tritanopia (blue-blind)
#7C6786
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8a48d1;
/* rgb */ color: rgb(138, 72, 209);
/* oklch */ color: oklch(55.1% 0.202 302.3);
Tailwind
colors: {
  custom: {
    50: '#b17fe0',
    500: '#8a48d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a48d1;
$custom-light: #b17fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a48d1",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 268.905,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.20248,
    "h": 302.3
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#8A48D1
secondary
#BBD79E
accent
#E34597
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8A48D1

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

Preview Lab → · Contrast checker → · Palette generator →

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