#AF3FBF#AF3FBF

#AF3FBF is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.209 H 322.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AF3FBF
RGBrgb(175, 63, 191)
HSLhsl(293, 50%, 50%)
HSVhsv(293, 67%, 75%)
CMYKcmyk(8.4%, 67%, 0%, 25.1%)
CIE-LABlab(47.54, 62.20, -45.71)
CIE-LCHlch(47.54, 77.19, 323.69°)
OKLaboklab(57.46% 0.1658 -0.1274)
OKLCHoklch(57.46% 0.209 322.5)
XYZxyz(28.8597, 16.4321, 50.9317)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FBF #4FBF3F
analogous
#6F3FBF #AF3FBF #BF3F8F
triadic
#AF3FBF #BFAF3F #3FBFAF
tetradic
#AF3FBF #BF6F3F #4FBF3F #3F8FBF
square
#AF3FBF #BF6F3F #4FBF3F #3F8FBF
split-complementary
#AF3FBF #8FBF3F #3FBF6F
monochromatic
#5B2163 #853091 #AF3FBF #C26DCF #D59BDE

Accessibility & contrast

On white

4.90
#AF3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF3FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FBF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FBF#FFFFFF#000000##FFFFFF
##AF3FBF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B69C3
Deuteranopia (green-blind)
#5175BC
Tritanopia (blue-blind)
#B1547A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3fbf;
/* rgb */ color: rgb(175, 63, 191);
/* oklch */ color: oklch(57.5% 0.209 322.5);
Tailwind
colors: {
  custom: {
    50: '#ca7dd3',
    500: '#af3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #af3fbf;
$custom-light: #ca7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fbf",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 292.5,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.20908,
    "h": 322.5
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#AF3FBF
secondary
#97CA90
accent
#DA4E5F
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AF3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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