#A645CB#A645CB

#A645CB is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.7% C 0.208 H 315.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A645CB
RGBrgb(166, 69, 203)
HSLhsl(283, 56%, 53%)
HSVhsv(283, 66%, 80%)
CMYKcmyk(18.2%, 66%, 0%, 20.4%)
CIE-LABlab(47.85, 59.96, -52.23)
CIE-LCHlch(47.85, 79.52, 318.95°)
OKLaboklab(57.65% 0.148 -0.1468)
OKLCHoklch(57.65% 0.208 315.2)
XYZxyz(28.6318, 16.6760, 58.1989)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645CB #6ACB45
analogous
#6345CB #A645CB #CB45AD
triadic
#A645CB #CBA645 #45CBA6
tetradic
#A645CB #CB6345 #6ACB45 #45ADCB
square
#A645CB #CB6345 #6ACB45 #45ADCB
split-complementary
#A645CB #ADCB45 #45CB63
monochromatic
#5E2175 #842EA5 #A645CB #BD75D8 #D4A5E6

Accessibility & contrast

On white

4.84
#A645CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A645CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645CB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645CB#FFFFFF#000000##FFFFFF
##A645CB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a645cb;
/* rgb */ color: rgb(166, 69, 203);
/* oklch */ color: oklch(57.7% 0.208 315.2);
Tailwind
colors: {
  custom: {
    50: '#c47fdb',
    500: '#a645cb',
    950: '#000000',
  },
}
SCSS
$custom: #a645cb;
$custom-light: #c47fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a645cb",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 283.433,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.20847,
    "h": 315.2
  },
  "luminance": 0.16675
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A645CB

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

Preview Lab → · Contrast checker → · Palette generator →

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