#A545F2#A545F2

#A545F2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 60.2% C 0.246 H 305.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A545F2
RGBrgb(165, 69, 242)
HSLhsl(273, 87%, 61%)
HSVhsv(273, 71%, 95%)
CMYKcmyk(31.8%, 71.5%, 0%, 5.1%)
CIE-LABlab(50.29, 68.03, -70.44)
CIE-LCHlch(50.29, 97.93, 314.00°)
OKLaboklab(60.19% 0.1424 -0.2003)
OKLCHoklch(60.19% 0.246 305.4)
XYZxyz(33.6686, 18.6666, 85.8165)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545F2 #92F245
analogous
#4E45F2 #A545F2 #F245E8
triadic
#A545F2 #F2A545 #45F2A5
tetradic
#A545F2 #F24E45 #92F245 #45E8F2
square
#A545F2 #F24E45 #92F245 #45E8F2
split-complementary
#A545F2 #E8F245 #45F24E
monochromatic
#670CB0 #8910E9 #A545F2 #C17EF6 #DCB7FA

Accessibility & contrast

On white

4.44
#A545F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A545F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A545F2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545F2#FFFFFF#000000##000000
##A545F21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F7
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#976E98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a545f2;
/* rgb */ color: rgb(165, 69, 242);
/* oklch */ color: oklch(60.2% 0.246 305.4);
Tailwind
colors: {
  custom: {
    50: '#c581f7',
    500: '#a545f2',
    950: '#000000',
  },
}
SCSS
$custom: #a545f2;
$custom-light: #c581f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a545f2",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 242
  },
  "hsl": {
    "h": 273.295,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60187,
    "c": 0.24575,
    "h": 305.4
  },
  "luminance": 0.18666
}

Semantic roles & 50–950 ramp

primary
#A545F2
secondary
#C6EAA9
accent
#E30266
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A545F2

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

Preview Lab → · Contrast checker → · Palette generator →

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