#A545CB#A545CB

#A545CB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.5% C 0.208 H 314.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A545CB
RGBrgb(165, 69, 203)
HSLhsl(283, 56%, 53%)
HSVhsv(283, 66%, 80%)
CMYKcmyk(18.7%, 66%, 0%, 20.4%)
CIE-LABlab(47.71, 59.74, -52.45)
CIE-LCHlch(47.71, 79.50, 318.72°)
OKLaboklab(57.52% 0.1468 -0.1475)
OKLCHoklch(57.52% 0.208 314.9)
XYZxyz(28.4229, 16.5683, 58.1891)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545CB #6BCB45
analogous
#6245CB #A545CB #CB45AE
triadic
#A545CB #CBA545 #45CBA5
tetradic
#A545CB #CB6245 #6BCB45 #45AECB
square
#A545CB #CB6245 #6BCB45 #45AECB
split-complementary
#A545CB #AECB45 #45CB62
monochromatic
#5D2175 #832EA5 #A545CB #BC75D8 #D3A5E6

Accessibility & contrast

On white

4.87
#A545CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A545CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545CB#FFFFFF#000000##FFFFFF
##A545CB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#A25F82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a545cb;
/* rgb */ color: rgb(165, 69, 203);
/* oklch */ color: oklch(57.5% 0.208 314.9);
Tailwind
colors: {
  custom: {
    50: '#c37fdb',
    500: '#a545cb',
    950: '#000000',
  },
}
SCSS
$custom: #a545cb;
$custom-light: #c37fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a545cb",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 282.985,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57524,
    "c": 0.20809,
    "h": 314.9
  },
  "luminance": 0.16567
}

Semantic roles & 50–950 ramp

primary
#A545CB
secondary
#A9D399
accent
#E04873
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A545CB

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

Preview Lab → · Contrast checker → · Palette generator →

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