#A638DD#A638DD

#A638DD is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.240 H 311.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A638DD
RGBrgb(166, 56, 221)
HSLhsl(280, 71%, 54%)
HSVhsv(280, 75%, 87%)
CMYKcmyk(24.9%, 74.7%, 0%, 13.3%)
CIE-LABlab(47.18, 68.82, -63.62)
CIE-LCHlch(47.18, 93.72, 317.25°)
OKLaboklab(57.55% 0.159 -0.1801)
OKLCHoklch(57.55% 0.24 311.4)
XYZxyz(30.1887, 16.1566, 69.9208)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638DD #6FDD38
analogous
#5438DD #A638DD #DD38C2
triadic
#A638DD #DDA638 #38DDA6
tetradic
#A638DD #DD5438 #6FDD38 #38C2DD
square
#A638DD #DD5438 #6FDD38 #38C2DD
split-complementary
#A638DD #C2DD38 #38DD54
monochromatic
#601784 #851FB8 #A638DD #BD6CE6 #D5A1EF

Accessibility & contrast

On white

4.96
#A638DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A638DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638DD#FFFFFF#000000##FFFFFF
##A638DD1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#1872DA
Tritanopia (blue-blind)
#9F5F89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a638dd;
/* rgb */ color: rgb(166, 56, 221);
/* oklch */ color: oklch(57.5% 0.240 311.4);
Tailwind
colors: {
  custom: {
    50: '#c57ae8',
    500: '#a638dd',
    950: '#000000',
  },
}
SCSS
$custom: #a638dd;
$custom-light: #c57ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#a638dd",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 280,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57547,
    "c": 0.24027,
    "h": 311.4
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#A638DD
secondary
#ADDB95
accent
#EE3A76
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A638DD

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

Preview Lab → · Contrast checker → · Palette generator →

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