#AF3FB8#AF3FB8

#AF3FB8 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.1% C 0.203 H 324.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF3FB8
RGBrgb(175, 63, 184)
HSLhsl(296, 49%, 48%)
HSVhsv(296, 66%, 72%)
CMYKcmyk(4.9%, 65.8%, 0%, 27.8%)
CIE-LABlab(47.15, 60.94, -42.25)
CIE-LCHlch(47.15, 74.15, 325.27°)
OKLaboklab(57.06% 0.1657 -0.1173)
OKLCHoklch(57.06% 0.203 324.7)
XYZxyz(28.1077, 16.1314, 46.9713)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FB8 #48B83F
analogous
#723FB8 #AF3FB8 #B83F84
triadic
#AF3FB8 #B8AF3F #3FB8AF
tetradic
#AF3FB8 #B8723F #48B83F #3F84B8
square
#AF3FB8 #B8723F #48B83F #3F84B8
split-complementary
#AF3FB8 #84B83F #3FB872
monochromatic
#58205D #842F8A #AF3FB8 #C469CC #D696DB

Accessibility & contrast

On white

4.97
#AF3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3FB8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FB8#FFFFFF#000000##FFFFFF
##AF3FB81.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BC
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#B35276
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3fb8;
/* rgb */ color: rgb(175, 63, 184);
/* oklch */ color: oklch(57.1% 0.203 324.7);
Tailwind
colors: {
  custom: {
    50: '#ca7dce',
    500: '#af3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #af3fb8;
$custom-light: #ca7dce;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fb8",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 295.537,
    "s": 48.988,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.20307,
    "h": 324.7
  },
  "luminance": 0.1613
}

Semantic roles & 50–950 ramp

primary
#AF3FB8
secondary
#90C78C
accent
#D94F59
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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