#AF3FB1#AF3FB1

#AF3FB1 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.7% C 0.197 H 327.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#AF3FB1
RGBrgb(175, 63, 177)
HSLhsl(299, 48%, 47%)
HSVhsv(299, 64%, 69%)
CMYKcmyk(1.1%, 64.4%, 0%, 30.6%)
CIE-LABlab(46.77, 59.70, -38.74)
CIE-LCHlch(46.77, 71.17, 327.02°)
OKLaboklab(56.66% 0.1655 -0.1072)
OKLCHoklch(56.66% 0.197 327.1)
XYZxyz(27.3921, 15.8451, 43.2021)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FB1 #41B13F
analogous
#763FB1 #AF3FB1 #B13F7A
triadic
#AF3FB1 #B1AF3F #3FB1AF
tetradic
#AF3FB1 #B1763F #41B13F #3F7AB1
square
#AF3FB1 #B1763F #41B13F #3F7AB1
split-complementary
#AF3FB1 #7AB13F #3FB176
monochromatic
#561F57 #822F84 #AF3FB1 #C665C8 #D792D8

Accessibility & contrast

On white

5.04
#AF3FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF3FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FB1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FB1#FFFFFF#000000##FFFFFF
##AF3FB11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B4
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#B44F73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3fb1;
/* rgb */ color: rgb(175, 63, 177);
/* oklch */ color: oklch(56.7% 0.197 327.1);
Tailwind
colors: {
  custom: {
    50: '#ca7cc9',
    500: '#af3fb1',
    950: '#000000',
  },
}
SCSS
$custom: #af3fb1;
$custom-light: #ca7cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fb1",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 298.947,
    "s": 47.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.19716,
    "h": 327.1
  },
  "luminance": 0.15843
}

Semantic roles & 50–950 ramp

primary
#AF3FB1
secondary
#89C488
accent
#D75153
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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