#A338AC#A338AC

#A338AC is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.0% C 0.196 H 324.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#A338AC
RGBrgb(163, 56, 172)
HSLhsl(295, 51%, 45%)
HSVhsv(295, 67%, 67%)
CMYKcmyk(5.2%, 67.4%, 0%, 32.5%)
CIE-LABlab(43.65, 58.78, -40.86)
CIE-LCHlch(43.65, 71.58, 325.20°)
OKLaboklab(53.96% 0.1596 -0.1136)
OKLCHoklch(53.96% 0.196 324.6)
XYZxyz(23.9642, 13.5949, 40.3836)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338AC #41AC38
analogous
#6938AC #A338AC #AC387B
triadic
#A338AC #ACA338 #38ACA3
tetradic
#A338AC #AC6938 #41AC38 #387BAC
square
#A338AC #AC6938 #41AC38 #387BAC
split-complementary
#A338AC #7BAC38 #38AC69
monochromatic
#4B1A50 #77297E #A338AC #C058C9 #D287D8

Accessibility & contrast

On white

5.65
#A338AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#A338AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338AC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338AC#FFFFFF#000000##FFFFFF
##A338AC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FAF
Deuteranopia (green-blind)
#4D6CA9
Tritanopia (blue-blind)
#A64A6E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a338ac;
/* rgb */ color: rgb(163, 56, 172);
/* oklch */ color: oklch(54.0% 0.196 324.6);
Tailwind
colors: {
  custom: {
    50: '#c277c5',
    500: '#a338ac',
    950: '#000000',
  },
}
SCSS
$custom: #a338ac;
$custom-light: #c277c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a338ac",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 295.345,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.19591,
    "h": 324.6
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#A338AC
secondary
#83C27E
accent
#DA4D58
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A338AC

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

Preview Lab → · Contrast checker → · Palette generator →

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