#A338AA#A338AA

#A338AA is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.8% C 0.194 H 325.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A338AA
RGBrgb(163, 56, 170)
HSLhsl(296, 50%, 44%)
HSVhsv(296, 67%, 67%)
CMYKcmyk(4.1%, 67.1%, 0%, 33.3%)
CIE-LABlab(43.53, 58.42, -39.85)
CIE-LCHlch(43.53, 70.72, 325.70°)
OKLaboklab(53.84% 0.1596 -0.1106)
OKLCHoklch(53.84% 0.194 325.3)
XYZxyz(23.7736, 13.5186, 39.3796)
Luminance0.1352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338AA #3FAA38
analogous
#6A38AA #A338AA #AA3878
triadic
#A338AA #AAA338 #38AAA3
tetradic
#A338AA #AA6A38 #3FAA38 #3878AA
square
#A338AA #AA6A38 #3FAA38 #3878AA
split-complementary
#A338AA #78AA38 #38AA6A
monochromatic
#4B1A4E #77297C #A338AA #C157C8 #D285D7

Accessibility & contrast

On white

5.67
#A338AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#A338AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338AA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338AA#FFFFFF#000000##FFFFFF
##A338AA1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215EAD
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#A7496C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a338aa;
/* rgb */ color: rgb(163, 56, 170);
/* oklch */ color: oklch(53.8% 0.194 325.3);
Tailwind
colors: {
  custom: {
    50: '#c177c4',
    500: '#a338aa',
    950: '#000000',
  },
}
SCSS
$custom: #a338aa;
$custom-light: #c177c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a338aa",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 296.316,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53838,
    "c": 0.1942,
    "h": 325.3
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#A338AA
secondary
#81C17D
accent
#DA4E56
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A338AA

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

Preview Lab → · Contrast checker → · Palette generator →

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