#A148B2#A148B2

#A148B2 is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.178 H 321.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A148B2
RGBrgb(161, 72, 178)
HSLhsl(290, 42%, 49%)
HSVhsv(290, 60%, 70%)
CMYKcmyk(9.6%, 59.6%, 0%, 30.2%)
CIE-LABlab(46.21, 52.41, -40.34)
CIE-LCHlch(46.21, 66.14, 322.42°)
OKLaboklab(55.86% 0.1384 -0.1122)
OKLCHoklch(55.86% 0.178 321)
XYZxyz(25.0503, 15.4273, 43.7691)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148B2 #59B248
analogous
#6C48B2 #A148B2 #B2488E
triadic
#A148B2 #B2A148 #48B2A1
tetradic
#A148B2 #B26C48 #59B248 #488EB2
square
#A148B2 #B26C48 #59B248 #488EB2
split-complementary
#A148B2 #8EB248 #48B26C
monochromatic
#52255B #7A3686 #A148B2 #B871C6 #CE9DD7

Accessibility & contrast

On white

5.14
#A148B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A148B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A148B2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148B2#FFFFFF#000000##FFFFFF
##A148B21.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#A25876
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a148b2;
/* rgb */ color: rgb(161, 72, 178);
/* oklch */ color: oklch(55.9% 0.178 321.0);
Tailwind
colors: {
  custom: {
    50: '#bf80c9',
    500: '#a148b2',
    950: '#000000',
  },
}
SCSS
$custom: #a148b2;
$custom-light: #bf80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a148b2",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 290.377,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.17815,
    "h": 321
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#A148B2
secondary
#9AC492
accent
#D2566A
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A148B2

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

Preview Lab → · Contrast checker → · Palette generator →

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