#A548E7#A548E7

#A548E7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.7% C 0.232 H 307.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A548E7
RGBrgb(165, 72, 231)
HSLhsl(275, 77%, 59%)
HSVhsv(275, 69%, 91%)
CMYKcmyk(28.6%, 68.8%, 0%, 9.4%)
CIE-LABlab(49.98, 64.35, -64.76)
CIE-LCHlch(49.98, 91.30, 314.82°)
OKLaboklab(59.72% 0.1411 -0.1836)
OKLCHoklch(59.72% 0.232 307.5)
XYZxyz(32.2552, 18.4040, 77.4389)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548E7 #8AE748
analogous
#5548E7 #A548E7 #E748DA
triadic
#A548E7 #E7A548 #48E7A5
tetradic
#A548E7 #E75548 #8AE748 #48DAE7
square
#A548E7 #E75548 #8AE748 #48DAE7
split-complementary
#A548E7 #DAE748 #48E755
monochromatic
#6615A0 #891CD6 #A548E7 #C07EEE #DAB4F5

Accessibility & contrast

On white

4.49
#A548E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A548E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A548E7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548E7#FFFFFF#000000##000000
##A548E71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#1C78E4
Tritanopia (blue-blind)
#9A6C92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a548e7;
/* rgb */ color: rgb(165, 72, 231);
/* oklch */ color: oklch(59.7% 0.232 307.5);
Tailwind
colors: {
  custom: {
    50: '#c582ef',
    500: '#a548e7',
    950: '#000000',
  },
}
SCSS
$custom: #a548e7;
$custom-light: #c582ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a548e7",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 275.094,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59725,
    "c": 0.23157,
    "h": 307.5
  },
  "luminance": 0.18404
}

Semantic roles & 50–950 ramp

primary
#A548E7
secondary
#C0E4A6
accent
#F33484
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A548E7

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

Preview Lab → · Contrast checker → · Palette generator →

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