#A148D8#A148D8

#A148D8 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.2% C 0.216 H 309.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A148D8
RGBrgb(161, 72, 216)
HSLhsl(277, 65%, 56%)
HSVhsv(277, 67%, 85%)
CMYKcmyk(25.5%, 66.7%, 0%, 15.3%)
CIE-LABlab(48.47, 60.27, -58.71)
CIE-LCHlch(48.47, 84.14, 315.75°)
OKLaboklab(58.22% 0.1376 -0.166)
OKLCHoklch(58.22% 0.216 309.7)
XYZxyz(29.4075, 17.1702, 66.7175)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148D8 #7FD848
analogous
#5948D8 #A148D8 #D848C7
triadic
#A148D8 #D8A148 #48D8A1
tetradic
#A148D8 #D85948 #7FD848 #48C7D8
square
#A148D8 #D85948 #7FD848 #48C7D8
split-complementary
#A148D8 #C7D848 #48D859
monochromatic
#5F1D89 #8328BB #A148D8 #BB7AE3 #D5ADEE

Accessibility & contrast

On white

4.74
#A148D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A148D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A148D8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148D8#FFFFFF#000000##FFFFFF
##A148D81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#3174D5
Tritanopia (blue-blind)
#99668A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a148d8;
/* rgb */ color: rgb(161, 72, 216);
/* oklch */ color: oklch(58.2% 0.216 309.7);
Tailwind
colors: {
  custom: {
    50: '#c181e5',
    500: '#a148d8',
    950: '#000000',
  },
}
SCSS
$custom: #a148d8;
$custom-light: #c181e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a148d8",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 277.083,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.21558,
    "h": 309.7
  },
  "luminance": 0.1717
}

Semantic roles & 50–950 ramp

primary
#A148D8
secondary
#B7DBA0
accent
#E84080
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A148D8

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

Preview Lab → · Contrast checker → · Palette generator →

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