#A048E2#A048E2

#A048E2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.225 H 306.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A048E2
RGBrgb(160, 72, 226)
HSLhsl(274, 73%, 58%)
HSVhsv(274, 68%, 89%)
CMYKcmyk(29.2%, 68.1%, 0%, 11.4%)
CIE-LABlab(49.01, 62.26, -63.54)
CIE-LCHlch(49.01, 88.96, 314.41°)
OKLaboklab(58.79% 0.1353 -0.1802)
OKLCHoklch(58.79% 0.225 306.9)
XYZxyz(30.5391, 17.5997, 73.7250)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A048E2 #8AE248
analogous
#5348E2 #A048E2 #E248D7
triadic
#A048E2 #E2A048 #48E2A0
tetradic
#A048E2 #E25348 #8AE248 #48D7E2
square
#A048E2 #E25348 #8AE248 #48D7E2
split-complementary
#A048E2 #D7E248 #48E253
monochromatic
#611898 #8320CC #A048E2 #BB7DEA #D7B2F3

Accessibility & contrast

On white

4.65
#A048E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A048E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A048E2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A048E2#FFFFFF#000000##FFFFFF
##A048E21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#1C75DF
Tritanopia (blue-blind)
#956A90
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a048e2;
/* rgb */ color: rgb(160, 72, 226);
/* oklch */ color: oklch(58.8% 0.225 306.9);
Tailwind
colors: {
  custom: {
    50: '#c181ec',
    500: '#a048e2',
    950: '#000000',
  },
}
SCSS
$custom: #a048e2;
$custom-light: #c181ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a048e2",
  "rgb": {
    "r": 160,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 274.286,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58785,
    "c": 0.22531,
    "h": 306.9
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#A048E2
secondary
#BFE1A4
accent
#EF3887
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A048E2

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

Preview Lab → · Contrast checker → · Palette generator →

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