#A048D9#A048D9

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

Color values

HEX#A048D9
RGBrgb(160, 72, 217)
HSLhsl(276, 66%, 57%)
HSVhsv(276, 67%, 85%)
CMYKcmyk(26.3%, 66.8%, 0%, 14.9%)
CIE-LABlab(48.41, 60.28, -59.39)
CIE-LCHlch(48.41, 84.62, 315.42°)
OKLaboklab(58.17% 0.1362 -0.168)
OKLCHoklch(58.17% 0.216 309)
XYZxyz(29.3364, 17.1186, 67.3910)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A048D9 #81D948
analogous
#5848D9 #A048D9 #D948CA
triadic
#A048D9 #D9A048 #48D9A0
tetradic
#A048D9 #D95848 #81D948 #48CAD9
square
#A048D9 #D95848 #81D948 #48CAD9
split-complementary
#A048D9 #CAD948 #48D958
monochromatic
#5F1D8A #8227BD #A048D9 #BA7BE4 #D5ADEE

Accessibility & contrast

On white

4.75
#A048D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A048D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A048D9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A048D9#FFFFFF#000000##FFFFFF
##A048D91.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#2D74D6
Tritanopia (blue-blind)
#98678B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a048d9;
/* rgb */ color: rgb(160, 72, 217);
/* oklch */ color: oklch(58.2% 0.216 309.0);
Tailwind
colors: {
  custom: {
    50: '#c081e5',
    500: '#a048d9',
    950: '#000000',
  },
}
SCSS
$custom: #a048d9;
$custom-light: #c081e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a048d9",
  "rgb": {
    "r": 160,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 276.414,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58167,
    "c": 0.21629,
    "h": 309
  },
  "luminance": 0.17118
}

Semantic roles & 50–950 ramp

primary
#A048D9
secondary
#B8DCA1
accent
#E93F82
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A048D9

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

Preview Lab → · Contrast checker → · Palette generator →

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