#A338A7#A338A7

#A338A7 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.192 H 326.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A338A7
RGBrgb(163, 56, 167)
HSLhsl(298, 50%, 44%)
HSVhsv(298, 66%, 65%)
CMYKcmyk(2.4%, 66.5%, 0%, 34.5%)
CIE-LABlab(43.37, 57.89, -38.33)
CIE-LCHlch(43.37, 69.43, 326.49°)
OKLaboklab(53.67% 0.1595 -0.1062)
OKLCHoklch(53.67% 0.192 326.3)
XYZxyz(23.4930, 13.4064, 37.9020)
Luminance0.1341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338A7 #3CA738
analogous
#6B38A7 #A338A7 #A73873
triadic
#A338A7 #A7A338 #38A7A3
tetradic
#A338A7 #A76B38 #3CA738 #3873A7
square
#A338A7 #A76B38 #3CA738 #3873A7
split-complementary
#A338A7 #73A738 #38A76B
monochromatic
#4A194B #762979 #A338A7 #C256C6 #D384D6

Accessibility & contrast

On white

5.70
#A338A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A338A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338A7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338A7#FFFFFF#000000##FFFFFF
##A338A71.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255EAA
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#A7486B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a338a7;
/* rgb */ color: rgb(163, 56, 167);
/* oklch */ color: oklch(53.7% 0.192 326.3);
Tailwind
colors: {
  custom: {
    50: '#c177c1',
    500: '#a338a7',
    950: '#000000',
  },
}
SCSS
$custom: #a338a7;
$custom-light: #c177c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a338a7",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 167
  },
  "hsl": {
    "h": 297.838,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53666,
    "c": 0.19167,
    "h": 326.3
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

primary
#A338A7
secondary
#7EBF7B
accent
#D94F54
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A338A7

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

Preview Lab → · Contrast checker → · Palette generator →

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