#A638C2#A638C2

#A638C2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.216 H 318.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A638C2
RGBrgb(166, 56, 194)
HSLhsl(288, 55%, 49%)
HSVhsv(288, 71%, 76%)
CMYKcmyk(14.4%, 71.1%, 0%, 23.9%)
CIE-LABlab(45.40, 63.51, -50.94)
CIE-LCHlch(45.40, 81.42, 321.27°)
OKLaboklab(55.72% 0.1624 -0.1429)
OKLCHoklch(55.72% 0.216 318.6)
XYZxyz(26.8763, 14.8316, 52.4756)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638C2 #54C238
analogous
#6138C2 #A638C2 #C23899
triadic
#A638C2 #C2A638 #38C2A6
tetradic
#A638C2 #C26138 #54C238 #3899C2
square
#A638C2 #C26138 #54C238 #3899C2
split-complementary
#A638C2 #99C238 #38C261
monochromatic
#551D63 #7D2A93 #A638C2 #BC65D2 #D194E0

Accessibility & contrast

On white

5.30
#A638C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A638C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638C2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638C2#FFFFFF#000000##FFFFFF
##A638C21.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#406FBF
Tritanopia (blue-blind)
#A6537A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a638c2;
/* rgb */ color: rgb(166, 56, 194);
/* oklch */ color: oklch(55.7% 0.216 318.6);
Tailwind
colors: {
  custom: {
    50: '#c479d5',
    500: '#a638c2',
    950: '#000000',
  },
}
SCSS
$custom: #a638c2;
$custom-light: #c479d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a638c2",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 287.826,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.21632,
    "h": 318.6
  },
  "luminance": 0.1483
}

Semantic roles & 50–950 ramp

primary
#A638C2
secondary
#98CB8A
accent
#DF4968
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A638C2

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

Preview Lab → · Contrast checker → · Palette generator →

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