#A338A5#A338A5

#A338A5 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.6% C 0.190 H 327.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A338A5
RGBrgb(163, 56, 165)
HSLhsl(299, 49%, 43%)
HSVhsv(299, 66%, 65%)
CMYKcmyk(1.2%, 66.1%, 0%, 35.3%)
CIE-LABlab(43.26, 57.54, -37.31)
CIE-LCHlch(43.26, 68.57, 327.04°)
OKLaboklab(53.55% 0.1595 -0.1033)
OKLCHoklch(53.55% 0.19 327.1)
XYZxyz(23.3096, 13.3330, 36.9358)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338A5 #3AA538
analogous
#6C38A5 #A338A5 #A53870
triadic
#A338A5 #A5A338 #38A5A3
tetradic
#A338A5 #A56C38 #3AA538 #3870A5
square
#A338A5 #A56C38 #3AA538 #3870A5
split-complementary
#A338A5 #70A538 #38A56C
monochromatic
#49194A #762877 #A338A5 #C355C5 #D383D5

Accessibility & contrast

On white

5.73
#A338A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A338A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338A5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338A5#FFFFFF#000000##FFFFFF
##A338A51.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275DA8
Deuteranopia (green-blind)
#516BA2
Tritanopia (blue-blind)
#A8476A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a338a5;
/* rgb */ color: rgb(163, 56, 165);
/* oklch */ color: oklch(53.6% 0.190 327.1);
Tailwind
colors: {
  custom: {
    50: '#c177c0',
    500: '#a338a5',
    950: '#000000',
  },
}
SCSS
$custom: #a338a5;
$custom-light: #c177c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a338a5",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 165
  },
  "hsl": {
    "h": 298.899,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.18998,
    "h": 327.1
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#A338A5
secondary
#7CBE7A
accent
#D94F51
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A338A5

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

Preview Lab → · Contrast checker → · Palette generator →

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