#A626C7#A626C7

#A626C7 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.6% C 0.238 H 318.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A626C7
RGBrgb(166, 38, 199)
HSLhsl(288, 68%, 46%)
HSVhsv(288, 81%, 78%)
CMYKcmyk(16.6%, 80.9%, 0%, 22%)
CIE-LABlab(43.68, 70.33, -56.62)
CIE-LCHlch(43.68, 90.29, 321.16°)
OKLaboklab(54.61% 0.1771 -0.1594)
OKLCHoklch(54.61% 0.238 318)
XYZxyz(26.7263, 13.6180, 55.2425)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A626C7 #47C726
analogous
#5626C7 #A626C7 #C72698
triadic
#A626C7 #C7A626 #26C7A6
tetradic
#A626C7 #C75626 #47C726 #2698C7
square
#A626C7 #C75626 #47C726 #2698C7
split-complementary
#A626C7 #98C726 #26C756
monochromatic
#501260 #7B1C94 #A626C7 #C04DDD #D281E7

Accessibility & contrast

On white

5.64
#A626C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A626C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A626C7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A626C7#FFFFFF#000000##FFFFFF
##A626C71.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#2D6BC4
Tritanopia (blue-blind)
#A54C78
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a626c7;
/* rgb */ color: rgb(166, 38, 199);
/* oklch */ color: oklch(54.6% 0.238 318.0);
Tailwind
colors: {
  custom: {
    50: '#c571d9',
    500: '#a626c7',
    950: '#000000',
  },
}
SCSS
$custom: #a626c7;
$custom-light: #c571d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a626c7",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 287.702,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54607,
    "c": 0.23828,
    "h": 318
  },
  "luminance": 0.13617
}

Semantic roles & 50–950 ramp

primary
#A626C7
secondary
#8BCF79
accent
#EB3D61
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A626C7

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

Preview Lab → · Contrast checker → · Palette generator →

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