#A638BD#A638BD

#A638BD is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.212 H 320.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A638BD
RGBrgb(166, 56, 189)
HSLhsl(290, 54%, 48%)
HSVhsv(290, 70%, 74%)
CMYKcmyk(12.2%, 70.4%, 0%, 25.9%)
CIE-LABlab(45.10, 62.57, -48.52)
CIE-LCHlch(45.10, 79.18, 322.21°)
OKLaboklab(55.41% 0.1627 -0.1358)
OKLCHoklch(55.41% 0.212 320.1)
XYZxyz(26.3242, 14.6108, 49.5678)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638BD #4FBD38
analogous
#6338BD #A638BD #BD3891
triadic
#A638BD #BDA638 #38BDA6
tetradic
#A638BD #BD6338 #4FBD38 #3891BD
square
#A638BD #BD6338 #4FBD38 #3891BD
split-complementary
#A638BD #91BD38 #38BD63
monochromatic
#531C5F #7D2A8E #A638BD #BD62D0 #D191DE

Accessibility & contrast

On white

5.35
#A638BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A638BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638BD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638BD#FFFFFF#000000##FFFFFF
##A638BD1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#446FBA
Tritanopia (blue-blind)
#A75177
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a638bd;
/* rgb */ color: rgb(166, 56, 189);
/* oklch */ color: oklch(55.4% 0.212 320.1);
Tailwind
colors: {
  custom: {
    50: '#c478d1',
    500: '#a638bd',
    950: '#000000',
  },
}
SCSS
$custom: #a638bd;
$custom-light: #c478d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a638bd",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 289.624,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55406,
    "c": 0.21195,
    "h": 320.1
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

primary
#A638BD
secondary
#93C987
accent
#DE4A64
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A638BD

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

Preview Lab → · Contrast checker → · Palette generator →

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