#AF30AE#AF30AE

#AF30AE is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.213 H 328.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF30AE
RGBrgb(175, 48, 174)
HSLhsl(300, 57%, 44%)
HSVhsv(300, 73%, 69%)
CMYKcmyk(0%, 72.6%, 0.6%, 31.4%)
CIE-LABlab(44.64, 64.75, -40.34)
CIE-LCHlch(44.64, 76.29, 328.07°)
OKLaboklab(55.08% 0.1811 -0.1117)
OKLCHoklch(55.08% 0.213 328.3)
XYZxyz(26.3758, 14.2858, 41.4044)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF30AE #30AF31
analogous
#7030AF #AF30AE #AF306E
triadic
#AF30AE #AEAF30 #30AEAF
tetradic
#AF30AE #AF7030 #30AF31 #306EAF
square
#AF30AE #AF7030 #30AF31 #306EAF
split-complementary
#AF30AE #6EAF30 #30AF70
monochromatic
#4F164E #7F237E #AF30AE #CE4ECD #DC7EDB

Accessibility & contrast

On white

5.44
#AF30AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF30AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF30AE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF30AE#FFFFFF#000000##FFFFFF
##AF30AE1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB1
Deuteranopia (green-blind)
#536FAB
Tritanopia (blue-blind)
#B5436C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af30ae;
/* rgb */ color: rgb(175, 48, 174);
/* oklch */ color: oklch(55.1% 0.213 328.3);
Tailwind
colors: {
  custom: {
    50: '#cb75c7',
    500: '#af30ae',
    950: '#000000',
  },
}
SCSS
$custom: #af30ae;
$custom-light: #cb75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#af30ae",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 300.472,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55079,
    "c": 0.21279,
    "h": 328.3
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#AF30AE
secondary
#76C477
accent
#E04948
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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