#A548FF#A548FF

#A548FF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.5% C 0.255 H 302.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A548FF
RGBrgb(165, 72, 255)
HSLhsl(270, 100%, 64%)
HSVhsv(270, 72%, 100%)
CMYKcmyk(35.3%, 71.8%, 0%, 0%)
CIE-LABlab(51.67, 69.67, -75.46)
CIE-LCHlch(51.67, 102.70, 312.72°)
OKLaboklab(61.46% 0.1373 -0.215)
OKLCHoklch(61.46% 0.255 302.6)
XYZxyz(35.8801, 19.8540, 96.5303)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548FF #A2FF48
analogous
#4A48FF #A548FF #FF48FD
triadic
#A548FF #FFA548 #48FFA5
tetradic
#A548FF #FF4A48 #A2FF48 #48FDFF
square
#A548FF #FF4A48 #A2FF48 #48FDFF
split-complementary
#A548FF #FDFF48 #48FF4A
monochromatic
#6800CD #870BFF #A548FF #C385FF #E1C2FF

Accessibility & contrast

On white

4.22
#A548FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A548FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A548FF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548FF#FFFFFF#000000##000000
##A548FF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFF
Deuteranopia (green-blind)
#007BFB
Tritanopia (blue-blind)
#9275A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a548ff;
/* rgb */ color: rgb(165, 72, 255);
/* oklch */ color: oklch(61.5% 0.255 302.6);
Tailwind
colors: {
  custom: {
    50: '#c683ff',
    500: '#a548ff',
    950: '#000000',
  },
}
SCSS
$custom: #a548ff;
$custom-light: #c683ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a548ff",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 255
  },
  "hsl": {
    "h": 270.492,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61456,
    "c": 0.25515,
    "h": 302.6
  },
  "luminance": 0.19854
}

Semantic roles & 50–950 ramp

primary
#A548FF
secondary
#D1F1B1
accent
#E60071
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A548FF

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

Preview Lab → · Contrast checker → · Palette generator →

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