#A338BD#A338BD

#A338BD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.211 H 319.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A338BD
RGBrgb(163, 56, 189)
HSLhsl(288, 54%, 48%)
HSVhsv(288, 70%, 74%)
CMYKcmyk(13.8%, 70.4%, 0%, 25.9%)
CIE-LABlab(44.65, 61.93, -49.26)
CIE-LCHlch(44.65, 79.13, 321.50°)
OKLaboklab(54.99% 0.1591 -0.1381)
OKLCHoklch(54.99% 0.211 319)
XYZxyz(25.7025, 14.2902, 49.5387)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338BD #52BD38
analogous
#6138BD #A338BD #BD3894
triadic
#A338BD #BDA338 #38BDA3
tetradic
#A338BD #BD6138 #52BD38 #3894BD
square
#A338BD #BD6138 #52BD38 #3894BD
split-complementary
#A338BD #94BD38 #38BD61
monochromatic
#521C5F #7A2A8E #A338BD #BB62D0 #CF91DE

Accessibility & contrast

On white

5.44
#A338BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A338BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338BD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338BD#FFFFFF#000000##FFFFFF
##A338BD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#416DBA
Tritanopia (blue-blind)
#A35177
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a338bd;
/* rgb */ color: rgb(163, 56, 189);
/* oklch */ color: oklch(55.0% 0.211 319.0);
Tailwind
colors: {
  custom: {
    50: '#c278d1',
    500: '#a338bd',
    950: '#000000',
  },
}
SCSS
$custom: #a338bd;
$custom-light: #c278d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a338bd",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 288.271,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54994,
    "c": 0.21071,
    "h": 319
  },
  "luminance": 0.14289
}

Semantic roles & 50–950 ramp

primary
#A338BD
secondary
#94C987
accent
#DE4A67
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A338BD

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

Preview Lab → · Contrast checker → · Palette generator →

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