#A048D7#A048D7

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

Color values

HEX#A048D7
RGBrgb(160, 72, 215)
HSLhsl(277, 64%, 56%)
HSVhsv(277, 67%, 84%)
CMYKcmyk(25.6%, 66.5%, 0%, 15.7%)
CIE-LABlab(48.28, 59.84, -58.46)
CIE-LCHlch(48.28, 83.66, 315.67°)
OKLaboklab(58.03% 0.1364 -0.1653)
OKLCHoklch(58.03% 0.214 309.5)
XYZxyz(29.0779, 17.0152, 66.0293)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A048D7 #7FD748
analogous
#5948D7 #A048D7 #D748C7
triadic
#A048D7 #D7A048 #48D7A0
tetradic
#A048D7 #D75948 #7FD748 #48C7D7
square
#A048D7 #D75948 #7FD748 #48C7D7
split-complementary
#A048D7 #C7D748 #48D759
monochromatic
#5E1E87 #8229B9 #A048D7 #BA7AE2 #D4ACED

Accessibility & contrast

On white

4.77
#A048D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A048D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A048D7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A048D7#FFFFFF#000000##FFFFFF
##A048D71.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#3074D4
Tritanopia (blue-blind)
#98668A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a048d7;
/* rgb */ color: rgb(160, 72, 215);
/* oklch */ color: oklch(58.0% 0.214 309.5);
Tailwind
colors: {
  custom: {
    50: '#c081e4',
    500: '#a048d7',
    950: '#000000',
  },
}
SCSS
$custom: #a048d7;
$custom-light: #c081e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a048d7",
  "rgb": {
    "r": 160,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 276.923,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58033,
    "c": 0.21428,
    "h": 309.5
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#A048D7
secondary
#B7DBA0
accent
#E74181
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A048D7

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

Preview Lab → · Contrast checker → · Palette generator →

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