#A538AF#A538AF

#A538AF is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.199 H 324.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A538AF
RGBrgb(165, 56, 175)
HSLhsl(295, 52%, 45%)
HSVhsv(295, 68%, 69%)
CMYKcmyk(5.7%, 68%, 0%, 31.4%)
CIE-LABlab(44.12, 59.78, -41.85)
CIE-LCHlch(44.12, 72.98, 325.00°)
OKLaboklab(54.42% 0.1619 -0.1164)
OKLCHoklch(54.42% 0.199 324.3)
XYZxyz(24.6684, 13.9243, 41.9375)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538AF #42AF38
analogous
#6938AF #A538AF #AF387D
triadic
#A538AF #AFA538 #38AFA5
tetradic
#A538AF #AF6938 #42AF38 #387DAF
square
#A538AF #AF6938 #42AF38 #387DAF
split-complementary
#A538AF #7DAF38 #38AF69
monochromatic
#4E1A52 #792981 #A538AF #C15ACA #D288D9

Accessibility & contrast

On white

5.55
#A538AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#A538AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538AF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538AF#FFFFFF#000000##FFFFFF
##A538AF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B60B2
Deuteranopia (green-blind)
#4D6DAC
Tritanopia (blue-blind)
#A84B6F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a538af;
/* rgb */ color: rgb(165, 56, 175);
/* oklch */ color: oklch(54.4% 0.199 324.3);
Tailwind
colors: {
  custom: {
    50: '#c378c7',
    500: '#a538af',
    950: '#000000',
  },
}
SCSS
$custom: #a538af;
$custom-light: #c378c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a538af",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 294.958,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.19944,
    "h": 324.3
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#A538AF
secondary
#85C380
accent
#DB4D59
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A538AF

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

Preview Lab → · Contrast checker → · Palette generator →

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