#A338AF#A338AF

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

Color values

HEX#A338AF
RGBrgb(163, 56, 175)
HSLhsl(294, 52%, 45%)
HSVhsv(294, 68%, 69%)
CMYKcmyk(6.9%, 68%, 0%, 31.4%)
CIE-LABlab(43.82, 59.32, -42.36)
CIE-LCHlch(43.82, 72.89, 324.47°)
OKLaboklab(54.13% 0.1596 -0.1179)
OKLCHoklch(54.13% 0.198 323.5)
XYZxyz(24.2556, 13.7114, 41.9181)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A338AF #44AF38
analogous
#6838AF #A338AF #AF387F
triadic
#A338AF #AFA338 #38AFA3
tetradic
#A338AF #AF6838 #44AF38 #387FAF
square
#A338AF #AF6838 #44AF38 #387FAF
split-complementary
#A338AF #7FAF38 #38AF68
monochromatic
#4D1A52 #782981 #A338AF #BF5ACA #D188D9

Accessibility & contrast

On white

5.61
#A338AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#A338AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A338AF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A338AF#FFFFFF#000000##FFFFFF
##A338AF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB2
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#A64C6F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a338af;
/* rgb */ color: rgb(163, 56, 175);
/* oklch */ color: oklch(54.1% 0.198 323.5);
Tailwind
colors: {
  custom: {
    50: '#c278c7',
    500: '#a338af',
    950: '#000000',
  },
}
SCSS
$custom: #a338af;
$custom-light: #c278c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a338af",
  "rgb": {
    "r": 163,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 293.95,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.19848,
    "h": 323.5
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#A338AF
secondary
#86C380
accent
#DB4D5B
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A338AF

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

Preview Lab → · Contrast checker → · Palette generator →

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