#A638B4#A638B4

#A638B4 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 54.9% C 0.204 H 323.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A638B4
RGBrgb(166, 56, 180)
HSLhsl(293, 53%, 46%)
HSVhsv(293, 69%, 71%)
CMYKcmyk(7.8%, 68.9%, 0%, 29.4%)
CIE-LABlab(44.56, 60.91, -44.09)
CIE-LCHlch(44.56, 75.20, 324.10°)
OKLaboklab(54.85% 0.163 -0.1229)
OKLCHoklch(54.85% 0.204 323)
XYZxyz(25.3775, 14.2321, 44.5815)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638B4 #46B438
analogous
#6838B4 #A638B4 #B43884
triadic
#A638B4 #B4A638 #38B4A6
tetradic
#A638B4 #B46838 #46B438 #3884B4
square
#A638B4 #B46838 #46B438 #3884B4
split-complementary
#A638B4 #84B438 #38B468
monochromatic
#501B57 #7B2985 #A638B4 #C05DCD #D28BDB

Accessibility & contrast

On white

5.46
#A638B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A638B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638B4
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638B4#FFFFFF#000000##FFFFFF
##A638B41.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1261B8
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#A84D72
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a638b4;
/* rgb */ color: rgb(166, 56, 180);
/* oklch */ color: oklch(54.9% 0.204 323.0);
Tailwind
colors: {
  custom: {
    50: '#c478cb',
    500: '#a638b4',
    950: '#000000',
  },
}
SCSS
$custom: #a638b4;
$custom-light: #c478cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a638b4",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 293.226,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54853,
    "c": 0.20417,
    "h": 323
  },
  "luminance": 0.14231
}

Semantic roles & 50–950 ramp

primary
#A638B4
secondary
#8AC582
accent
#DC4C5C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A638B4

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

Preview Lab → · Contrast checker → · Palette generator →

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