#A638CA#A638CA

#A638CA is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.223 H 316.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A638CA
RGBrgb(166, 56, 202)
HSLhsl(285, 58%, 51%)
HSVhsv(285, 72%, 79%)
CMYKcmyk(17.8%, 72.3%, 0%, 20.8%)
CIE-LABlab(45.91, 65.05, -54.77)
CIE-LCHlch(45.91, 85.04, 319.91°)
OKLaboklab(56.24% 0.1616 -0.1541)
OKLCHoklch(56.24% 0.223 316.4)
XYZxyz(27.7991, 15.2007, 57.3354)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638CA #5CCA38
analogous
#5D38CA #A638CA #CA38A5
triadic
#A638CA #CAA638 #38CAA6
tetradic
#A638CA #CA5D38 #5CCA38 #38A5CA
square
#A638CA #CA5D38 #5CCA38 #38A5CA
split-complementary
#A638CA #A5CA38 #38CA5D
monochromatic
#581D6B #7F299B #A638CA #BC68D7 #D199E4

Accessibility & contrast

On white

5.20
#A638CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A638CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638CA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638CA#FFFFFF#000000##FFFFFF
##A638CA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#A4567E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a638ca;
/* rgb */ color: rgb(166, 56, 202);
/* oklch */ color: oklch(56.2% 0.223 316.4);
Tailwind
colors: {
  custom: {
    50: '#c579db',
    500: '#a638ca',
    950: '#000000',
  },
}
SCSS
$custom: #a638ca;
$custom-light: #c579db;
$custom-dark: #000000;
JSON
{
  "hex": "#a638ca",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 285.205,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56244,
    "c": 0.22335,
    "h": 316.4
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#A638CA
secondary
#9ECF8E
accent
#E1476D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A638CA

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

Preview Lab → · Contrast checker → · Palette generator →

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