#A638BC#A638BC

#A638BC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.3% C 0.211 H 320.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A638BC
RGBrgb(166, 56, 188)
HSLhsl(290, 54%, 48%)
HSVhsv(290, 70%, 74%)
CMYKcmyk(11.7%, 70.2%, 0%, 26.3%)
CIE-LABlab(45.04, 62.39, -48.03)
CIE-LCHlch(45.04, 78.73, 322.41°)
OKLaboklab(55.34% 0.1628 -0.1344)
OKLCHoklch(55.34% 0.211 320.5)
XYZxyz(26.2161, 14.5675, 48.9981)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638BC #4EBC38
analogous
#6438BC #A638BC #BC3890
triadic
#A638BC #BCA638 #38BCA6
tetradic
#A638BC #BC6438 #4EBC38 #3890BC
square
#A638BC #BC6438 #4EBC38 #3890BC
split-complementary
#A638BC #90BC38 #38BC64
monochromatic
#531C5E #7C2A8D #A638BC #BE61D0 #D190DE

Accessibility & contrast

On white

5.37
#A638BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A638BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638BC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638BC#FFFFFF#000000##FFFFFF
##A638BC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#456EB9
Tritanopia (blue-blind)
#A75076
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a638bc;
/* rgb */ color: rgb(166, 56, 188);
/* oklch */ color: oklch(55.3% 0.211 320.5);
Tailwind
colors: {
  custom: {
    50: '#c478d1',
    500: '#a638bc',
    950: '#000000',
  },
}
SCSS
$custom: #a638bc;
$custom-light: #c478d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a638bc",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 290,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.21108,
    "h": 320.5
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#A638BC
secondary
#92C987
accent
#DD4A63
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A638BC

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

Preview Lab → · Contrast checker → · Palette generator →

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