#A148D2#A148D2

#A148D2 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.210 H 311.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A148D2
RGBrgb(161, 72, 210)
HSLhsl(279, 61%, 55%)
HSVhsv(279, 66%, 82%)
CMYKcmyk(23.3%, 65.7%, 0%, 17.6%)
CIE-LABlab(48.09, 58.98, -55.90)
CIE-LCHlch(48.09, 81.26, 316.54°)
OKLaboklab(57.82% 0.1381 -0.1577)
OKLCHoklch(57.82% 0.21 311.2)
XYZxyz(28.6460, 16.8656, 62.7066)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148D2 #79D248
analogous
#5C48D2 #A148D2 #D248BE
triadic
#A148D2 #D2A148 #48D2A1
tetradic
#A148D2 #D25C48 #79D248 #48BED2
square
#A148D2 #D25C48 #79D248 #48BED2
split-complementary
#A148D2 #BED248 #48D25C
monochromatic
#5E2080 #822CB1 #A148D2 #BA79DE #D3AAEA

Accessibility & contrast

On white

4.80
#A148D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A148D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A148D2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148D2#FFFFFF#000000##FFFFFF
##A148D21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#3874CF
Tritanopia (blue-blind)
#9B6487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a148d2;
/* rgb */ color: rgb(161, 72, 210);
/* oklch */ color: oklch(57.8% 0.210 311.2);
Tailwind
colors: {
  custom: {
    50: '#c181e0',
    500: '#a148d2',
    950: '#000000',
  },
}
SCSS
$custom: #a148d2;
$custom-light: #c181e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a148d2",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 278.696,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57823,
    "c": 0.2096,
    "h": 311.2
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#A148D2
secondary
#B3D89E
accent
#E4447D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A148D2

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

Preview Lab → · Contrast checker → · Palette generator →

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