#A545F1#A545F1

#A545F1 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 60.1% C 0.245 H 305.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A545F1
RGBrgb(165, 69, 241)
HSLhsl(273, 86%, 61%)
HSVhsv(273, 71%, 95%)
CMYKcmyk(31.5%, 71.4%, 0%, 5.5%)
CIE-LABlab(50.22, 67.81, -70.00)
CIE-LCHlch(50.22, 97.45, 314.09°)
OKLaboklab(60.11% 0.1426 -0.199)
OKLCHoklch(60.11% 0.245 305.6)
XYZxyz(33.5188, 18.6067, 85.0277)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545F1 #91F145
analogous
#4F45F1 #A545F1 #F145E7
triadic
#A545F1 #F1A545 #45F1A5
tetradic
#A545F1 #F14F45 #91F145 #45E7F1
square
#A545F1 #F14F45 #91F145 #45E7F1
split-complementary
#A545F1 #E7F145 #45F14F
monochromatic
#670DAE #8911E7 #A545F1 #C17EF5 #DCB7FA

Accessibility & contrast

On white

4.45
#A545F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A545F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A545F1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545F1#FFFFFF#000000##000000
##A545F11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F6
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#976E97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a545f1;
/* rgb */ color: rgb(165, 69, 241);
/* oklch */ color: oklch(60.1% 0.245 305.6);
Tailwind
colors: {
  custom: {
    50: '#c581f7',
    500: '#a545f1',
    950: '#000000',
  },
}
SCSS
$custom: #a545f1;
$custom-light: #c581f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a545f1",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 241
  },
  "hsl": {
    "h": 273.488,
    "s": 86,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60115,
    "c": 0.24478,
    "h": 305.6
  },
  "luminance": 0.18606
}

Semantic roles & 50–950 ramp

primary
#A545F1
secondary
#C5E9A8
accent
#E30366
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A545F1

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

Preview Lab → · Contrast checker → · Palette generator →

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