#A645BB#A645BB

#A645BB is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.7% C 0.193 H 320.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A645BB
RGBrgb(166, 69, 187)
HSLhsl(289, 46%, 50%)
HSVhsv(289, 63%, 73%)
CMYKcmyk(11.2%, 63.1%, 0%, 26.7%)
CIE-LABlab(46.91, 56.79, -44.45)
CIE-LCHlch(46.91, 72.12, 321.95°)
OKLaboklab(56.67% 0.1483 -0.124)
OKLCHoklch(56.67% 0.193 320.1)
XYZxyz(26.8225, 15.9523, 48.6703)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A645BB #5ABB45
analogous
#6B45BB #A645BB #BB4595
triadic
#A645BB #BBA645 #45BBA6
tetradic
#A645BB #BB6B45 #5ABB45 #4595BB
square
#A645BB #BB6B45 #5ABB45 #4595BB
split-complementary
#A645BB #95BB45 #45BB6B
monochromatic
#572462 #7F348F #A645BB #BB72CB #D19FDC

Accessibility & contrast

On white

5.01
#A645BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A645BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A645BB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A645BB#FFFFFF#000000##FFFFFF
##A645BB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BF
Deuteranopia (green-blind)
#4F73B8
Tritanopia (blue-blind)
#A7597A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a645bb;
/* rgb */ color: rgb(166, 69, 187);
/* oklch */ color: oklch(56.7% 0.193 320.1);
Tailwind
colors: {
  custom: {
    50: '#c37fd0',
    500: '#a645bb',
    950: '#000000',
  },
}
SCSS
$custom: #a645bb;
$custom-light: #c37fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a645bb",
  "rgb": {
    "r": 166,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 289.322,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.19337,
    "h": 320.1
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#A645BB
secondary
#9DC894
accent
#D65269
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A645BB

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

Preview Lab → · Contrast checker → · Palette generator →

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