#AF3FB5#AF3FB5

#AF3FB5 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.201 H 325.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF3FB5
RGBrgb(175, 63, 181)
HSLhsl(297, 48%, 48%)
HSVhsv(297, 65%, 71%)
CMYKcmyk(3.3%, 65.2%, 0%, 29%)
CIE-LABlab(46.98, 60.40, -40.75)
CIE-LCHlch(46.98, 72.86, 326.00°)
OKLaboklab(56.89% 0.1657 -0.113)
OKLCHoklch(56.89% 0.201 325.7)
XYZxyz(27.7966, 16.0069, 45.3327)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FB5 #45B53F
analogous
#743FB5 #AF3FB5 #B53F80
triadic
#AF3FB5 #B5AF3F #3FB5AF
tetradic
#AF3FB5 #B5743F #45B53F #3F80B5
square
#AF3FB5 #B5743F #45B53F #3F80B5
split-complementary
#AF3FB5 #80B53F #3FB574
monochromatic
#571F5A #832F88 #AF3FB5 #C567CA #D694DA

Accessibility & contrast

On white

5.00
#AF3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF3FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FB5
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FB5#FFFFFF#000000##FFFFFF
##AF3FB51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B8
Deuteranopia (green-blind)
#5774B2
Tritanopia (blue-blind)
#B35075
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3fb5;
/* rgb */ color: rgb(175, 63, 181);
/* oklch */ color: oklch(56.9% 0.201 325.7);
Tailwind
colors: {
  custom: {
    50: '#ca7dcb',
    500: '#af3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #af3fb5;
$custom-light: #ca7dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fb5",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 296.949,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.20052,
    "h": 325.7
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

primary
#AF3FB5
secondary
#8DC58A
accent
#D85057
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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