#A548DF#A548DF

#A548DF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.2% C 0.224 H 309.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A548DF
RGBrgb(165, 72, 223)
HSLhsl(277, 70%, 58%)
HSVhsv(277, 68%, 87%)
CMYKcmyk(26%, 67.7%, 0%, 12.5%)
CIE-LABlab(49.45, 62.62, -61.09)
CIE-LCHlch(49.45, 87.48, 315.71°)
OKLaboklab(59.18% 0.142 -0.1728)
OKLCHoklch(59.18% 0.224 309.4)
XYZxyz(31.1511, 17.9624, 71.6238)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548DF #82DF48
analogous
#5948DF #A548DF #DF48CD
triadic
#A548DF #DFA548 #48DFA5
tetradic
#A548DF #DF5948 #82DF48 #48CDDF
square
#A548DF #DF5948 #82DF48 #48CDDF
split-complementary
#A548DF #CDDF48 #48DF59
monochromatic
#641A93 #8823C7 #A548DF #BF7CE8 #D8B0F1

Accessibility & contrast

On white

4.57
#A548DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A548DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A548DF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548DF#FFFFFF#000000##000000
##A548DF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#9D688E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a548df;
/* rgb */ color: rgb(165, 72, 223);
/* oklch */ color: oklch(59.2% 0.224 309.4);
Tailwind
colors: {
  custom: {
    50: '#c482ea',
    500: '#a548df',
    950: '#000000',
  },
}
SCSS
$custom: #a548df;
$custom-light: #c482ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a548df",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 276.954,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.2237,
    "h": 309.4
  },
  "luminance": 0.17962
}

Semantic roles & 50–950 ramp

primary
#A548DF
secondary
#BAE0A3
accent
#ED3B7F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A548DF

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

Preview Lab → · Contrast checker → · Palette generator →

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