#A638D5#A638D5

#A638D5 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.233 H 313.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A638D5
RGBrgb(166, 56, 213)
HSLhsl(282, 65%, 53%)
HSVhsv(282, 74%, 84%)
CMYKcmyk(22.1%, 73.7%, 0%, 16.5%)
CIE-LABlab(46.63, 67.21, -59.93)
CIE-LCHlch(46.63, 90.05, 318.28°)
OKLaboklab(56.99% 0.1603 -0.1693)
OKLCHoklch(56.99% 0.233 313.4)
XYZxyz(29.1482, 15.7404, 64.4406)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638D5 #67D538
analogous
#5738D5 #A638D5 #D538B6
triadic
#A638D5 #D5A638 #38D5A6
tetradic
#A638D5 #D55738 #67D538 #38B6D5
square
#A638D5 #D55738 #67D538 #38B6D5
split-complementary
#A638D5 #B6D538 #38D557
monochromatic
#5C1A79 #8324AC #A638D5 #BD6BE0 #D39DEA

Accessibility & contrast

On white

5.06
#A638D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A638D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638D5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638D5#FFFFFF#000000##FFFFFF
##A638D51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#2971D2
Tritanopia (blue-blind)
#A15B84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a638d5;
/* rgb */ color: rgb(166, 56, 213);
/* oklch */ color: oklch(57.0% 0.233 313.4);
Tailwind
colors: {
  custom: {
    50: '#c579e3',
    500: '#a638d5',
    950: '#000000',
  },
}
SCSS
$custom: #a638d5;
$custom-light: #c579e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a638d5",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 282.038,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56988,
    "c": 0.23313,
    "h": 313.4
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#A638D5
secondary
#A7D692
accent
#E84072
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A638D5

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

Preview Lab → · Contrast checker → · Palette generator →

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