#A438D5#A438D5

#A438D5 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.7% C 0.232 H 312.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A438D5
RGBrgb(164, 56, 213)
HSLhsl(281, 65%, 53%)
HSVhsv(281, 74%, 84%)
CMYKcmyk(23%, 73.7%, 0%, 16.5%)
CIE-LABlab(46.35, 66.83, -60.41)
CIE-LCHlch(46.35, 90.09, 317.89°)
OKLaboklab(56.73% 0.1578 -0.1708)
OKLCHoklch(56.73% 0.232 312.7)
XYZxyz(28.7321, 15.5258, 64.4211)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A438D5 #69D538
analogous
#5638D5 #A438D5 #D538B7
triadic
#A438D5 #D5A438 #38D5A4
tetradic
#A438D5 #D55638 #69D538 #38B7D5
square
#A438D5 #D55638 #69D538 #38B7D5
split-complementary
#A438D5 #B7D538 #38D556
monochromatic
#5B1A79 #8124AC #A438D5 #BB6BE0 #D29DEA

Accessibility & contrast

On white

5.12
#A438D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#A438D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A438D5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A438D5#FFFFFF#000000##FFFFFF
##A438D51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#2570D2
Tritanopia (blue-blind)
#9E5C84
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a438d5;
/* rgb */ color: rgb(164, 56, 213);
/* oklch */ color: oklch(56.7% 0.232 312.7);
Tailwind
colors: {
  custom: {
    50: '#c479e3',
    500: '#a438d5',
    950: '#000000',
  },
}
SCSS
$custom: #a438d5;
$custom-light: #c479e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a438d5",
  "rgb": {
    "r": 164,
    "g": 56,
    "b": 213
  },
  "hsl": {
    "h": 281.274,
    "s": 65.145,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56727,
    "c": 0.23248,
    "h": 312.7
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#A438D5
secondary
#A8D692
accent
#E84074
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #A438D5

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

Preview Lab → · Contrast checker → · Palette generator →

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