#A627B0#A627B0

#A627B0 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.219 H 324.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A627B0
RGBrgb(166, 39, 176)
HSLhsl(296, 64%, 42%)
HSVhsv(296, 78%, 69%)
CMYKcmyk(5.7%, 77.8%, 0%, 31%)
CIE-LABlab(42.30, 66.00, -45.35)
CIE-LCHlch(42.30, 80.07, 325.51°)
OKLaboklab(53.16% 0.1791 -0.1264)
OKLCHoklch(53.16% 0.219 324.8)
XYZxyz(24.2873, 12.6942, 42.2369)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A627B0 #31B027
analogous
#6127B0 #A627B0 #B02776
triadic
#A627B0 #B0A627 #27B0A6
tetradic
#A627B0 #B06127 #31B027 #2776B0
square
#A627B0 #B06127 #31B027 #2776B0
split-complementary
#A627B0 #76B027 #27B061
monochromatic
#47114C #771C7E #A627B0 #CA40D5 #D872E0

Accessibility & contrast

On white

5.93
#A627B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A627B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A627B0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A627B0#FFFFFF#000000##FFFFFF
##A627B01.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#4469AD
Tritanopia (blue-blind)
#AA416B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a627b0;
/* rgb */ color: rgb(166, 39, 176);
/* oklch */ color: oklch(53.2% 0.219 324.8);
Tailwind
colors: {
  custom: {
    50: '#c471c8',
    500: '#a627b0',
    950: '#000000',
  },
}
SCSS
$custom: #a627b0;
$custom-light: #c471c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a627b0",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 295.62,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.21923,
    "h": 324.8
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

primary
#A627B0
secondary
#73C76C
accent
#E7414D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A627B0

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

Preview Lab → · Contrast checker → · Palette generator →

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