#AF3FA3#AF3FA3

#AF3FA3 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.186 H 332.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF3FA3
RGBrgb(175, 63, 163)
HSLhsl(306, 47%, 47%)
HSVhsv(306, 64%, 69%)
CMYKcmyk(0%, 64%, 6.9%, 31.4%)
CIE-LABlab(46.06, 57.34, -31.58)
CIE-LCHlch(46.06, 65.46, 331.16°)
OKLaboklab(55.92% 0.1644 -0.0865)
OKLCHoklch(55.92% 0.186 332.2)
XYZxyz(26.0676, 15.3153, 36.2264)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FA3 #3FAF4B
analogous
#833FAF #AF3FA3 #AF3F6B
triadic
#AF3FA3 #A3AF3F #3FA3AF
tetradic
#AF3FA3 #AF833F #3FAF4B #3F6BAF
square
#AF3FA3 #AF833F #3FAF4B #3F6BAF
split-complementary
#AF3FA3 #6BAF3F #3FAF83
monochromatic
#551F4F #822F79 #AF3FA3 #C764BD #D791D0

Accessibility & contrast

On white

5.17
#AF3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF3FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FA3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FA3#FFFFFF#000000##FFFFFF
##AF3FA31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#B6496B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3fa3;
/* rgb */ color: rgb(175, 63, 163);
/* oklch */ color: oklch(55.9% 0.186 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca7cbe',
    500: '#af3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #af3fa3;
$custom-light: #ca7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fa3",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 306.429,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55921,
    "c": 0.18577,
    "h": 332.2
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#AF3FA3
secondary
#87C38E
accent
#D75F51
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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