#A638CD#A638CD

#A638CD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.226 H 315.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A638CD
RGBrgb(166, 56, 205)
HSLhsl(284, 60%, 51%)
HSVhsv(284, 73%, 80%)
CMYKcmyk(19%, 72.7%, 0%, 19.6%)
CIE-LABlab(46.10, 65.63, -56.19)
CIE-LCHlch(46.10, 86.40, 319.44°)
OKLaboklab(56.44% 0.1613 -0.1583)
OKLCHoklch(56.44% 0.226 315.5)
XYZxyz(28.1577, 15.3442, 59.2243)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638CD #5FCD38
analogous
#5B38CD #A638CD #CD38A9
triadic
#A638CD #CDA638 #38CDA6
tetradic
#A638CD #CD5B38 #5FCD38 #38A9CD
square
#A638CD #CD5B38 #5FCD38 #38A9CD
split-complementary
#A638CD #A9CD38 #38CD5B
monochromatic
#591C6F #8028A0 #A638CD #BC69D9 #D29AE6

Accessibility & contrast

On white

5.16
#A638CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A638CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638CD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638CD#FFFFFF#000000##FFFFFF
##A638CD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#A35880
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a638cd;
/* rgb */ color: rgb(166, 56, 205);
/* oklch */ color: oklch(56.4% 0.226 315.5);
Tailwind
colors: {
  custom: {
    50: '#c579dd',
    500: '#a638cd',
    950: '#000000',
  },
}
SCSS
$custom: #a638cd;
$custom-light: #c579dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a638cd",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 284.295,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.22602,
    "h": 315.5
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#A638CD
secondary
#A1D18F
accent
#E3456E
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A638CD

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

Preview Lab → · Contrast checker → · Palette generator →

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