#A638C8#A638C8

#A638C8 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.1% C 0.222 H 316.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A638C8
RGBrgb(166, 56, 200)
HSLhsl(286, 57%, 50%)
HSVhsv(286, 72%, 78%)
CMYKcmyk(17%, 72%, 0%, 21.6%)
CIE-LABlab(45.78, 64.66, -53.82)
CIE-LCHlch(45.78, 84.13, 320.23°)
OKLaboklab(56.11% 0.1619 -0.1513)
OKLCHoklch(56.11% 0.222 316.9)
XYZxyz(27.5638, 15.1066, 56.0963)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638C8 #5AC838
analogous
#5E38C8 #A638C8 #C838A2
triadic
#A638C8 #C8A638 #38C8A6
tetradic
#A638C8 #C85E38 #5AC838 #38A2C8
square
#A638C8 #C85E38 #5AC838 #38A2C8
split-complementary
#A638C8 #A2C838 #38C85E
monochromatic
#571D69 #7F2A99 #A638C8 #BB68D5 #D198E3

Accessibility & contrast

On white

5.22
#A638C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#A638C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638C8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638C8#FFFFFF#000000##FFFFFF
##A638C81.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#A4567D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a638c8;
/* rgb */ color: rgb(166, 56, 200);
/* oklch */ color: oklch(56.1% 0.222 316.9);
Tailwind
colors: {
  custom: {
    50: '#c479d9',
    500: '#a638c8',
    950: '#000000',
  },
}
SCSS
$custom: #a638c8;
$custom-light: #c479d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a638c8",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 285.833,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.22158,
    "h": 316.9
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#A638C8
secondary
#9DCE8E
accent
#E0486C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A638C8

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

Preview Lab → · Contrast checker → · Palette generator →

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