#A148D9#A148D9

#A148D9 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.217 H 309.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A148D9
RGBrgb(161, 72, 217)
HSLhsl(277, 66%, 57%)
HSVhsv(277, 67%, 85%)
CMYKcmyk(25.8%, 66.8%, 0%, 14.9%)
CIE-LABlab(48.54, 60.49, -59.18)
CIE-LCHlch(48.54, 84.62, 315.63°)
OKLaboklab(58.29% 0.1375 -0.1673)
OKLCHoklch(58.29% 0.217 309.4)
XYZxyz(29.5372, 17.2221, 67.4004)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148D9 #80D948
analogous
#5948D9 #A148D9 #D948C8
triadic
#A148D9 #D9A148 #48D9A1
tetradic
#A148D9 #D95948 #80D948 #48C8D9
square
#A148D9 #D95948 #80D948 #48C8D9
split-complementary
#A148D9 #C8D948 #48D959
monochromatic
#601D8A #8327BD #A148D9 #BB7BE4 #D5ADEE

Accessibility & contrast

On white

4.73
#A148D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A148D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A148D9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148D9#FFFFFF#000000##FFFFFF
##A148D91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#2F75D6
Tritanopia (blue-blind)
#99678B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a148d9;
/* rgb */ color: rgb(161, 72, 217);
/* oklch */ color: oklch(58.3% 0.217 309.4);
Tailwind
colors: {
  custom: {
    50: '#c181e5',
    500: '#a148d9',
    950: '#000000',
  },
}
SCSS
$custom: #a148d9;
$custom-light: #c181e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a148d9",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 276.828,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.21658,
    "h": 309.4
  },
  "luminance": 0.17222
}

Semantic roles & 50–950 ramp

primary
#A148D9
secondary
#B8DCA1
accent
#E93F81
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A148D9

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

Preview Lab → · Contrast checker → · Palette generator →

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