#A148D4#A148D4

#A148D4 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.212 H 310.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A148D4
RGBrgb(161, 72, 212)
HSLhsl(278, 62%, 56%)
HSVhsv(278, 66%, 83%)
CMYKcmyk(24.1%, 66%, 0%, 16.9%)
CIE-LABlab(48.22, 59.41, -56.84)
CIE-LCHlch(48.22, 82.22, 316.27°)
OKLaboklab(57.96% 0.1379 -0.1605)
OKLCHoklch(57.96% 0.212 310.7)
XYZxyz(28.8967, 16.9659, 64.0271)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148D4 #7BD448
analogous
#5B48D4 #A148D4 #D448C1
triadic
#A148D4 #D4A148 #48D4A1
tetradic
#A148D4 #D45B48 #7BD448 #48C1D4
square
#A148D4 #D45B48 #7BD448 #48C1D4
split-complementary
#A148D4 #C1D448 #48D45B
monochromatic
#5E1F83 #822AB4 #A148D4 #BA7AE0 #D4ABEB

Accessibility & contrast

On white

4.78
#A148D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A148D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A148D4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148D4#FFFFFF#000000##FFFFFF
##A148D41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#3674D1
Tritanopia (blue-blind)
#9A6588
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a148d4;
/* rgb */ color: rgb(161, 72, 212);
/* oklch */ color: oklch(58.0% 0.212 310.7);
Tailwind
colors: {
  custom: {
    50: '#c181e2',
    500: '#a148d4',
    950: '#000000',
  },
}
SCSS
$custom: #a148d4;
$custom-light: #c181e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a148d4",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 278.143,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.21159,
    "h": 310.7
  },
  "luminance": 0.16965
}

Semantic roles & 50–950 ramp

primary
#A148D4
secondary
#B4D99F
accent
#E5437E
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A148D4

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

Preview Lab → · Contrast checker → · Palette generator →

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