#A745CB#A745CB

#A745CB is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.8% C 0.209 H 315.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A745CB
RGBrgb(167, 69, 203)
HSLhsl(284, 56%, 53%)
HSVhsv(284, 66%, 80%)
CMYKcmyk(17.7%, 66%, 0%, 20.4%)
CIE-LABlab(47.99, 60.19, -52.00)
CIE-LCHlch(47.99, 79.54, 319.18°)
OKLaboklab(57.78% 0.1493 -0.1461)
OKLCHoklch(57.78% 0.209 315.6)
XYZxyz(28.8423, 16.7846, 58.2088)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A745CB #69CB45
analogous
#6445CB #A745CB #CB45AC
triadic
#A745CB #CBA745 #45CBA7
tetradic
#A745CB #CB6445 #69CB45 #45ACCB
square
#A745CB #CB6445 #69CB45 #45ACCB
split-complementary
#A745CB #ACCB45 #45CB64
monochromatic
#5E2175 #852EA5 #A745CB #BE75D8 #D4A5E6

Accessibility & contrast

On white

4.82
#A745CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A745CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A745CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A745CB#FFFFFF#000000##FFFFFF
##A745CB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#A55F82
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a745cb;
/* rgb */ color: rgb(167, 69, 203);
/* oklch */ color: oklch(57.8% 0.209 315.6);
Tailwind
colors: {
  custom: {
    50: '#c580db',
    500: '#a745cb',
    950: '#000000',
  },
}
SCSS
$custom: #a745cb;
$custom-light: #c580db;
$custom-dark: #000000;
JSON
{
  "hex": "#a745cb",
  "rgb": {
    "r": 167,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 283.881,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.20886,
    "h": 315.6
  },
  "luminance": 0.16784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A745CB

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

Preview Lab → · Contrast checker → · Palette generator →

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