#A148BA#A148BA

#A148BA is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.3% C 0.186 H 318.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A148BA
RGBrgb(161, 72, 186)
HSLhsl(287, 45%, 51%)
HSVhsv(287, 61%, 73%)
CMYKcmyk(13.4%, 61.3%, 0%, 27.1%)
CIE-LABlab(46.66, 54.00, -44.32)
CIE-LCHlch(46.66, 69.86, 320.62°)
OKLaboklab(56.33% 0.1386 -0.1238)
OKLCHoklch(56.33% 0.186 318.2)
XYZxyz(25.8770, 15.7580, 48.1234)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148BA #61BA48
analogous
#6848BA #A148BA #BA489A
triadic
#A148BA #BAA148 #48BAA1
tetradic
#A148BA #BA6848 #61BA48 #489ABA
square
#A148BA #BA6848 #61BA48 #489ABA
split-complementary
#A148BA #9ABA48 #48BA68
monochromatic
#552562 #7B368F #A148BA #B874CB #CFA1DC

Accessibility & contrast

On white

5.06
#A148BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A148BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A148BA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148BA#FFFFFF#000000##FFFFFF
##A148BA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2969BE
Deuteranopia (green-blind)
#4D71B7
Tritanopia (blue-blind)
#A15B7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a148ba;
/* rgb */ color: rgb(161, 72, 186);
/* oklch */ color: oklch(56.3% 0.186 318.2);
Tailwind
colors: {
  custom: {
    50: '#c080cf',
    500: '#a148ba',
    950: '#000000',
  },
}
SCSS
$custom: #a148ba;
$custom-light: #c080cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a148ba",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 286.842,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.18588,
    "h": 318.2
  },
  "luminance": 0.15757
}

Semantic roles & 50–950 ramp

primary
#A148BA
secondary
#A1C896
accent
#D5536F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A148BA

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

Preview Lab → · Contrast checker → · Palette generator →

#A148BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva