#AF3AC9#AF3AC9

#AF3AC9 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.224 H 319.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF3AC9
RGBrgb(175, 58, 201)
HSLhsl(289, 57%, 51%)
HSVhsv(289, 71%, 79%)
CMYKcmyk(12.9%, 71.1%, 0%, 21.2%)
CIE-LABlab(47.44, 65.97, -51.65)
CIE-LCHlch(47.44, 83.78, 321.94°)
OKLaboklab(57.58% 0.1706 -0.1447)
OKLCHoklch(57.58% 0.224 319.7)
XYZxyz(29.7335, 16.3586, 56.8384)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3AC9 #54C93A
analogous
#673AC9 #AF3AC9 #C93A9B
triadic
#AF3AC9 #C9AF3A #3AC9AF
tetradic
#AF3AC9 #C9673A #54C93A #3A9BC9
square
#AF3AC9 #C9673A #54C93A #3A9BC9
split-complementary
#AF3AC9 #9BC93A #3AC967
monochromatic
#5D1D6B #872B9B #AF3AC9 #C36AD6 #D69AE3

Accessibility & contrast

On white

4.92
#AF3AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF3AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3AC9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3AC9#FFFFFF#000000##FFFFFF
##AF3AC91.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#4674C6
Tritanopia (blue-blind)
#AF567E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3ac9;
/* rgb */ color: rgb(175, 58, 201);
/* oklch */ color: oklch(57.6% 0.224 319.7);
Tailwind
colors: {
  custom: {
    50: '#cb7bda',
    500: '#af3ac9',
    950: '#000000',
  },
}
SCSS
$custom: #af3ac9;
$custom-light: #cb7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ac9",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 201
  },
  "hsl": {
    "h": 289.091,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57585,
    "c": 0.2237,
    "h": 319.7
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#AF3AC9
secondary
#9BCF90
accent
#E04863
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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