#A638BA#A638BA

#A638BA is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.209 H 321.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A638BA
RGBrgb(166, 56, 186)
HSLhsl(291, 54%, 47%)
HSVhsv(291, 70%, 73%)
CMYKcmyk(10.8%, 69.9%, 0%, 27.1%)
CIE-LABlab(44.92, 62.01, -47.05)
CIE-LCHlch(44.92, 77.84, 322.81°)
OKLaboklab(55.22% 0.1629 -0.1315)
OKLCHoklch(55.22% 0.209 321.1)
XYZxyz(26.0020, 14.4819, 47.8705)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638BA #4CBA38
analogous
#6538BA #A638BA #BA388D
triadic
#A638BA #BAA638 #38BAA6
tetradic
#A638BA #BA6538 #4CBA38 #388DBA
square
#A638BA #BA6538 #4CBA38 #388DBA
split-complementary
#A638BA #8DBA38 #38BA65
monochromatic
#521C5C #7C2A8B #A638BA #BE60CF #D18FDD

Accessibility & contrast

On white

5.39
#A638BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A638BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638BA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638BA#FFFFFF#000000##FFFFFF
##A638BA1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#476EB7
Tritanopia (blue-blind)
#A75075
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a638ba;
/* rgb */ color: rgb(166, 56, 186);
/* oklch */ color: oklch(55.2% 0.209 321.1);
Tailwind
colors: {
  custom: {
    50: '#c478cf',
    500: '#a638ba',
    950: '#000000',
  },
}
SCSS
$custom: #a638ba;
$custom-light: #c478cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a638ba",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 290.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55219,
    "c": 0.20934,
    "h": 321.1
  },
  "luminance": 0.14481
}

Semantic roles & 50–950 ramp

primary
#A638BA
secondary
#90C886
accent
#DD4B61
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A638BA

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

Preview Lab → · Contrast checker → · Palette generator →

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