#A638CB#A638CB

#A638CB is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.224 H 316.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A638CB
RGBrgb(166, 56, 203)
HSLhsl(285, 59%, 51%)
HSVhsv(285, 72%, 80%)
CMYKcmyk(18.2%, 72.4%, 0%, 20.4%)
CIE-LABlab(45.97, 65.25, -55.24)
CIE-LCHlch(45.97, 85.49, 319.75°)
OKLaboklab(56.31% 0.1615 -0.1555)
OKLCHoklch(56.31% 0.224 316.1)
XYZxyz(27.9179, 15.2482, 57.9609)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A638CB #5DCB38
analogous
#5C38CB #A638CB #CB38A6
triadic
#A638CB #CBA638 #38CBA6
tetradic
#A638CB #CB5C38 #5DCB38 #38A6CB
square
#A638CB #CB5C38 #5DCB38 #38A6CB
split-complementary
#A638CB #A6CB38 #38CB5C
monochromatic
#581C6C #80299D #A638CB #BC69D8 #D199E4

Accessibility & contrast

On white

5.19
#A638CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A638CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A638CB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A638CB#FFFFFF#000000##FFFFFF
##A638CB1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#A4577F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a638cb;
/* rgb */ color: rgb(166, 56, 203);
/* oklch */ color: oklch(56.3% 0.224 316.1);
Tailwind
colors: {
  custom: {
    50: '#c579dc',
    500: '#a638cb',
    950: '#000000',
  },
}
SCSS
$custom: #a638cb;
$custom-light: #c579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a638cb",
  "rgb": {
    "r": 166,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 284.898,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.22424,
    "h": 316.1
  },
  "luminance": 0.15247
}

Semantic roles & 50–950 ramp

primary
#A638CB
secondary
#9FD08F
accent
#E2466D
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A638CB

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

Preview Lab → · Contrast checker → · Palette generator →

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