#A638DB#A638DB

#A638DB is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.238 H 311.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A638DB
RGBrgb(166, 56, 219)
HSLhsl(280, 69%, 54%)
HSVhsv(280, 74%, 86%)
CMYKcmyk(24.2%, 74.4%, 0%, 14.1%)
CIE-LABlab(47.04, 68.42, -62.70)
CIE-LCHlch(47.04, 92.80, 317.50°)
OKLaboklab(57.41% 0.1594 -0.1774)
OKLCHoklch(57.41% 0.238 311.9)
XYZxyz(29.9239, 16.0506, 68.5259)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638DB #6DDB38
analogous
#5538DB #A638DB #DB38BF
triadic
#A638DB #DBA638 #38DBA6
tetradic
#A638DB #DB5538 #6DDB38 #38BFDB
square
#A638DB #DB5538 #6DDB38 #38BFDB
split-complementary
#A638DB #BFDB38 #38DB55
monochromatic
#5F1781 #8521B5 #A638DB #BD6CE4 #D4A0EE

Accessibility & contrast

On white

4.99
#A638DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A638DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638DB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638DB#FFFFFF#000000##FFFFFF
##A638DB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#1D72D8
Tritanopia (blue-blind)
#9F5E88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a638db;
/* rgb */ color: rgb(166, 56, 219);
/* oklch */ color: oklch(57.4% 0.238 311.9);
Tailwind
colors: {
  custom: {
    50: '#c57ae7',
    500: '#a638db',
    950: '#000000',
  },
}
SCSS
$custom: #a638db;
$custom-light: #c57ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a638db",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 280.491,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57406,
    "c": 0.23848,
    "h": 311.9
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

primary
#A638DB
secondary
#ABDA95
accent
#EC3C75
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A638DB

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

Preview Lab → · Contrast checker → · Palette generator →

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