#A738DB#A738DB

#A738DB is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.5% C 0.239 H 312.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A738DB
RGBrgb(167, 56, 219)
HSLhsl(281, 69%, 54%)
HSVhsv(281, 74%, 86%)
CMYKcmyk(23.7%, 74.4%, 0%, 14.1%)
CIE-LABlab(47.18, 68.60, -62.47)
CIE-LCHlch(47.18, 92.78, 317.68°)
OKLaboklab(57.54% 0.1606 -0.1767)
OKLCHoklch(57.54% 0.239 312.3)
XYZxyz(30.1344, 16.1592, 68.5357)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A738DB #6CDB38
analogous
#5638DB #A738DB #DB38BE
triadic
#A738DB #DBA738 #38DBA7
tetradic
#A738DB #DB5638 #6CDB38 #38BEDB
square
#A738DB #DB5638 #6CDB38 #38BEDB
split-complementary
#A738DB #BEDB38 #38DB56
monochromatic
#5F1781 #8621B5 #A738DB #BE6CE4 #D5A0EE

Accessibility & contrast

On white

4.96
#A738DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A738DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A738DB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A738DB#FFFFFF#000000##FFFFFF
##A738DB1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#2072D8
Tritanopia (blue-blind)
#A15E88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a738db;
/* rgb */ color: rgb(167, 56, 219);
/* oklch */ color: oklch(57.5% 0.239 312.3);
Tailwind
colors: {
  custom: {
    50: '#c67ae7',
    500: '#a738db',
    950: '#000000',
  },
}
SCSS
$custom: #a738db;
$custom-light: #c67ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a738db",
  "rgb": {
    "r": 167,
    "g": 56,
    "b": 219
  },
  "hsl": {
    "h": 280.859,
    "s": 69.362,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57535,
    "c": 0.23879,
    "h": 312.3
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#A738DB
secondary
#ABDA95
accent
#EC3C74
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #A738DB

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

Preview Lab → · Contrast checker → · Palette generator →

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