#A628D1#A628D1

#A628D1 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.4% C 0.245 H 315.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A628D1
RGBrgb(166, 40, 209)
HSLhsl(285, 68%, 49%)
HSVhsv(285, 81%, 82%)
CMYKcmyk(20.6%, 80.9%, 0%, 18%)
CIE-LABlab(44.56, 71.63, -60.98)
CIE-LCHlch(44.56, 94.07, 319.59°)
OKLaboklab(55.44% 0.1739 -0.1723)
OKLCHoklch(55.44% 0.245 315.3)
XYZxyz(27.9914, 14.2291, 61.5813)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A628D1 #53D128
analogous
#5228D1 #A628D1 #D128A8
triadic
#A628D1 #D1A628 #28D1A6
tetradic
#A628D1 #D15228 #53D128 #28A8D1
square
#A628D1 #D15228 #53D128 #28A8D1
split-complementary
#A628D1 #A8D128 #28D152
monochromatic
#54146A #7D1E9E #A628D1 #BC57DF #D18BE9

Accessibility & contrast

On white

5.46
#A628D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A628D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A628D1
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A628D1#FFFFFF#000000##FFFFFF
##A628D11.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#1E6CCE
Tritanopia (blue-blind)
#A2527E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a628d1;
/* rgb */ color: rgb(166, 40, 209);
/* oklch */ color: oklch(55.4% 0.245 315.3);
Tailwind
colors: {
  custom: {
    50: '#c573e0',
    500: '#a628d1',
    950: '#000000',
  },
}
SCSS
$custom: #a628d1;
$custom-light: #c573e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a628d1",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 209
  },
  "hsl": {
    "h": 284.734,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55441,
    "c": 0.24475,
    "h": 315.3
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#A628D1
secondary
#97D382
accent
#EB3D69
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#140915
muted
#827B83

Preview Lab

Preview with #A628D1

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

Preview Lab → · Contrast checker → · Palette generator →

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