#A338AE#A338AE

#A338AE is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.198 H 323.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A338AE
RGBrgb(163, 56, 174)
HSLhsl(294, 51%, 45%)
HSVhsv(294, 68%, 68%)
CMYKcmyk(6.3%, 67.8%, 0%, 31.8%)
CIE-LABlab(43.76, 59.14, -41.86)
CIE-LCHlch(43.76, 72.45, 324.71°)
OKLaboklab(54.07% 0.1596 -0.1165)
OKLCHoklch(54.07% 0.198 323.9)
XYZxyz(24.1577, 13.6723, 41.4028)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338AE #43AE38
analogous
#6838AE #A338AE #AE387E
triadic
#A338AE #AEA338 #38AEA3
tetradic
#A338AE #AE6838 #43AE38 #387EAE
square
#A338AE #AE6838 #43AE38 #387EAE
split-complementary
#A338AE #7EAE38 #38AE68
monochromatic
#4C1A51 #782980 #A338AE #BF59CA #D188D9

Accessibility & contrast

On white

5.62
#A338AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A338AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338AE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338AE#FFFFFF#000000##FFFFFF
##A338AE1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5FB1
Deuteranopia (green-blind)
#4C6CAB
Tritanopia (blue-blind)
#A64B6F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a338ae;
/* rgb */ color: rgb(163, 56, 174);
/* oklch */ color: oklch(54.1% 0.198 323.9);
Tailwind
colors: {
  custom: {
    50: '#c278c7',
    500: '#a338ae',
    950: '#000000',
  },
}
SCSS
$custom: #a338ae;
$custom-light: #c278c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a338ae",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 294.407,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.19762,
    "h": 323.9
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#A338AE
secondary
#85C37F
accent
#DB4D5A
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A338AE

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

Preview Lab → · Contrast checker → · Palette generator →

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