#AF3FB9#AF3FB9

#AF3FB9 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.204 H 324.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF3FB9
RGBrgb(175, 63, 185)
HSLhsl(295, 49%, 49%)
HSVhsv(295, 66%, 73%)
CMYKcmyk(5.4%, 65.9%, 0%, 27.5%)
CIE-LABlab(47.20, 61.11, -42.74)
CIE-LCHlch(47.20, 74.58, 325.03°)
OKLaboklab(57.12% 0.1658 -0.1188)
OKLCHoklch(57.12% 0.204 324.4)
XYZxyz(28.2129, 16.1734, 47.5253)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FB9 #49B93F
analogous
#723FB9 #AF3FB9 #B93F86
triadic
#AF3FB9 #B9AF3F #3FB9AF
tetradic
#AF3FB9 #B9723F #49B93F #3F86B9
square
#AF3FB9 #B9723F #49B93F #3F86B9
split-complementary
#AF3FB9 #86B93F #3FB972
monochromatic
#59205E #842F8B #AF3FB9 #C469CC #D697DC

Accessibility & contrast

On white

4.96
#AF3FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AF3FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FB9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FB9#FFFFFF#000000##FFFFFF
##AF3FB91.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2567BD
Deuteranopia (green-blind)
#5475B6
Tritanopia (blue-blind)
#B25277
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3fb9;
/* rgb */ color: rgb(175, 63, 185);
/* oklch */ color: oklch(57.1% 0.204 324.4);
Tailwind
colors: {
  custom: {
    50: '#ca7dce',
    500: '#af3fb9',
    950: '#000000',
  },
}
SCSS
$custom: #af3fb9;
$custom-light: #ca7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fb9",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 295.082,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57115,
    "c": 0.20392,
    "h": 324.4
  },
  "luminance": 0.16172
}

Semantic roles & 50–950 ramp

primary
#AF3FB9
secondary
#91C78D
accent
#D94F5A
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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