#A548E9#A548E9

#A548E9 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.9% C 0.234 H 307.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A548E9
RGBrgb(165, 72, 233)
HSLhsl(275, 79%, 60%)
HSVhsv(275, 69%, 91%)
CMYKcmyk(29.2%, 69.1%, 0%, 8.6%)
CIE-LABlab(50.12, 64.79, -65.67)
CIE-LCHlch(50.12, 92.25, 314.61°)
OKLaboklab(59.86% 0.1409 -0.1863)
OKLCHoklch(59.86% 0.234 307.1)
XYZxyz(32.5393, 18.5177, 78.9351)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548E9 #8CE948
analogous
#5448E9 #A548E9 #E948DD
triadic
#A548E9 #E9A548 #48E9A5
tetradic
#A548E9 #E95448 #8CE948 #48DDE9
square
#A548E9 #E95448 #8CE948 #48DDE9
split-complementary
#A548E9 #DDE948 #48E954
monochromatic
#6614A3 #891ADA #A548E9 #C07FF0 #DBB5F6

Accessibility & contrast

On white

4.46
#A548E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A548E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A548E9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548E9#FFFFFF#000000##000000
##A548E91.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#1678E6
Tritanopia (blue-blind)
#9A6C94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a548e9;
/* rgb */ color: rgb(165, 72, 233);
/* oklch */ color: oklch(59.9% 0.234 307.1);
Tailwind
colors: {
  custom: {
    50: '#c582f1',
    500: '#a548e9',
    950: '#000000',
  },
}
SCSS
$custom: #a548e9;
$custom-light: #c582f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a548e9",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 274.658,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59864,
    "c": 0.23354,
    "h": 307.1
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#A548E9
secondary
#C2E6A7
accent
#F53385
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A548E9

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

Preview Lab → · Contrast checker → · Palette generator →

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