#AF4FB9#AF4FB9

#AF4FB9 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.0% C 0.181 H 323.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4FB9
RGBrgb(175, 79, 185)
HSLhsl(294, 43%, 52%)
HSVhsv(294, 57%, 73%)
CMYKcmyk(5.4%, 57.3%, 0%, 27.5%)
CIE-LABlab(49.75, 54.09, -38.71)
CIE-LCHlch(49.75, 66.52, 324.41°)
OKLaboklab(58.97% 0.1464 -0.1072)
OKLCHoklch(58.97% 0.181 323.8)
XYZxyz(29.2313, 18.2102, 47.8648)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4FB9 #59B94F
analogous
#7A4FB9 #AF4FB9 #B94F8E
triadic
#AF4FB9 #B9AF4F #4FB9AF
tetradic
#AF4FB9 #B97A4F #59B94F #4F8EB9
square
#AF4FB9 #B97A4F #59B94F #4F8EB9
split-complementary
#AF4FB9 #8EB94F #4FB97A
monochromatic
#602865 #893A91 #AF4FB9 #C37BCA #D7A7DC

Accessibility & contrast

On white

4.52
#AF4FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF4FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4FB9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4FB9#FFFFFF#000000##000000
##AF4FB91.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6FBC
Deuteranopia (green-blind)
#5F7AB6
Tritanopia (blue-blind)
#B25E7D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4fb9;
/* rgb */ color: rgb(175, 79, 185);
/* oklch */ color: oklch(59.0% 0.181 323.8);
Tailwind
colors: {
  custom: {
    50: '#c985ce',
    500: '#af4fb9',
    950: '#000000',
  },
}
SCSS
$custom: #af4fb9;
$custom-light: #c985ce;
$custom-dark: #000000;
JSON
{
  "hex": "#af4fb9",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 294.34,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58965,
    "c": 0.18146,
    "h": 323.8
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#AF4FB9
secondary
#9FC99B
accent
#D35561
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AF4FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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