#A048E5#A048E5

#A048E5 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.228 H 306.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A048E5
RGBrgb(160, 72, 229)
HSLhsl(274, 75%, 59%)
HSVhsv(274, 69%, 90%)
CMYKcmyk(30.1%, 68.6%, 0%, 10.2%)
CIE-LABlab(49.21, 62.92, -64.91)
CIE-LCHlch(49.21, 90.40, 314.11°)
OKLaboklab(59% 0.1349 -0.1842)
OKLCHoklch(59% 0.228 306.2)
XYZxyz(30.9544, 17.7657, 75.9120)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A048E5 #8DE548
analogous
#5248E5 #A048E5 #E548DB
triadic
#A048E5 #E5A048 #48E5A0
tetradic
#A048E5 #E55248 #8DE548 #48DBE5
square
#A048E5 #E55248 #8DE548 #48DBE5
split-complementary
#A048E5 #DBE548 #48E552
monochromatic
#61169C #831ED2 #A048E5 #BC7EED #D8B3F4

Accessibility & contrast

On white

4.61
#A048E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A048E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A048E5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A048E5#FFFFFF#000000##FFFFFF
##A048E51.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#1275E2
Tritanopia (blue-blind)
#946B91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a048e5;
/* rgb */ color: rgb(160, 72, 229);
/* oklch */ color: oklch(59.0% 0.228 306.2);
Tailwind
colors: {
  custom: {
    50: '#c181ee',
    500: '#a048e5',
    950: '#000000',
  },
}
SCSS
$custom: #a048e5;
$custom-light: #c181ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a048e5",
  "rgb": {
    "r": 160,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 273.631,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.22832,
    "h": 306.2
  },
  "luminance": 0.17765
}

Semantic roles & 50–950 ramp

primary
#A048E5
secondary
#C1E3A6
accent
#F23689
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A048E5

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

Preview Lab → · Contrast checker → · Palette generator →

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