#A148D6#A148D6

#A148D6 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.214 H 310.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A148D6
RGBrgb(161, 72, 214)
HSLhsl(278, 63%, 56%)
HSVhsv(278, 66%, 84%)
CMYKcmyk(24.8%, 66.4%, 0%, 16.1%)
CIE-LABlab(48.34, 59.84, -57.78)
CIE-LCHlch(48.34, 83.18, 316.01°)
OKLaboklab(58.09% 0.1378 -0.1632)
OKLCHoklch(58.09% 0.214 310.2)
XYZxyz(29.1506, 17.0674, 65.3640)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A148D6 #7DD648
analogous
#5A48D6 #A148D6 #D648C4
triadic
#A148D6 #D6A148 #48D6A1
tetradic
#A148D6 #D65A48 #7DD648 #48C4D6
square
#A148D6 #D65A48 #7DD648 #48C4D6
split-complementary
#A148D6 #C4D648 #48D65A
monochromatic
#5F1E86 #8229B8 #A148D6 #BB7AE1 #D4ACEC

Accessibility & contrast

On white

4.76
#A148D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A148D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A148D6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A148D6#FFFFFF#000000##FFFFFF
##A148D61.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#3374D3
Tritanopia (blue-blind)
#9A6689
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a148d6;
/* rgb */ color: rgb(161, 72, 214);
/* oklch */ color: oklch(58.1% 0.214 310.2);
Tailwind
colors: {
  custom: {
    50: '#c181e3',
    500: '#a148d6',
    950: '#000000',
  },
}
SCSS
$custom: #a148d6;
$custom-light: #c181e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a148d6",
  "rgb": {
    "r": 161,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 277.606,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.21359,
    "h": 310.2
  },
  "luminance": 0.17067
}

Semantic roles & 50–950 ramp

primary
#A148D6
secondary
#B5DAA0
accent
#E6417F
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A148D6

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

Preview Lab → · Contrast checker → · Palette generator →

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