#A548E2#A548E2

#A548E2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.4% C 0.227 H 308.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A548E2
RGBrgb(165, 72, 226)
HSLhsl(276, 73%, 58%)
HSVhsv(276, 68%, 89%)
CMYKcmyk(27%, 68.1%, 0%, 11.4%)
CIE-LABlab(49.65, 63.26, -62.47)
CIE-LCHlch(49.65, 88.91, 315.36°)
OKLaboklab(59.38% 0.1417 -0.1769)
OKLCHoklch(59.38% 0.227 308.7)
XYZxyz(31.5591, 18.1256, 73.7728)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548E2 #85E248
analogous
#5848E2 #A548E2 #E248D2
triadic
#A548E2 #E2A548 #48E2A5
tetradic
#A548E2 #E25848 #85E248 #48D2E2
square
#A548E2 #E25848 #85E248 #48D2E2
split-complementary
#A548E2 #D2E248 #48E258
monochromatic
#651898 #8820CC #A548E2 #BF7DEA #D9B2F3

Accessibility & contrast

On white

4.54
#A548E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A548E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A548E2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548E2#FFFFFF#000000##000000
##A548E21.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#2777DF
Tritanopia (blue-blind)
#9C6A90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a548e2;
/* rgb */ color: rgb(165, 72, 226);
/* oklch */ color: oklch(59.4% 0.227 308.7);
Tailwind
colors: {
  custom: {
    50: '#c482ec',
    500: '#a548e2',
    950: '#000000',
  },
}
SCSS
$custom: #a548e2;
$custom-light: #c482ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a548e2",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 276.234,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.22665,
    "h": 308.7
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#A548E2
secondary
#BDE1A4
accent
#EF3881
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A548E2

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

Preview Lab → · Contrast checker → · Palette generator →

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