#A148DC#A148DC

#A148DC is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.220 H 308.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A148DC
RGBrgb(161, 72, 220)
HSLhsl(276, 68%, 57%)
HSVhsv(276, 67%, 86%)
CMYKcmyk(26.8%, 67.3%, 0%, 13.7%)
CIE-LABlab(48.73, 61.14, -60.57)
CIE-LCHlch(48.73, 86.06, 315.27°)
OKLaboklab(58.49% 0.1372 -0.1714)
OKLCHoklch(58.49% 0.22 308.7)
XYZxyz(29.9310, 17.3796, 69.4741)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148DC #83DC48
analogous
#5748DC #A148DC #DC48CD
triadic
#A148DC #DCA148 #48DCA1
tetradic
#A148DC #DC5748 #83DC48 #48CDDC
square
#A148DC #DC5748 #83DC48 #48CDDC
split-complementary
#A148DC #CDDC48 #48DC57
monochromatic
#601B8E #8325C2 #A148DC #BB7BE6 #D6AFF0

Accessibility & contrast

On white

4.69
#A148DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A148DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A148DC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148DC#FFFFFF#000000##FFFFFF
##A148DC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#98688C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a148dc;
/* rgb */ color: rgb(161, 72, 220);
/* oklch */ color: oklch(58.5% 0.220 308.7);
Tailwind
colors: {
  custom: {
    50: '#c181e8',
    500: '#a148dc',
    950: '#000000',
  },
}
SCSS
$custom: #a148dc;
$custom-light: #c181e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a148dc",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 276.081,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58491,
    "c": 0.21957,
    "h": 308.7
  },
  "luminance": 0.17379
}

Semantic roles & 50–950 ramp

primary
#A148DC
secondary
#BADEA2
accent
#EB3D82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A148DC

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

Preview Lab → · Contrast checker → · Palette generator →

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