#AF3FBB#AF3FBB

#AF3FBB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.2% C 0.206 H 323.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AF3FBB
RGBrgb(175, 63, 187)
HSLhsl(294, 50%, 49%)
HSVhsv(294, 66%, 73%)
CMYKcmyk(6.4%, 66.3%, 0%, 26.7%)
CIE-LABlab(47.31, 61.47, -43.74)
CIE-LCHlch(47.31, 75.44, 324.57°)
OKLaboklab(57.23% 0.1658 -0.1217)
OKLCHoklch(57.23% 0.206 323.7)
XYZxyz(28.4255, 16.2585, 48.6450)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FBB #4BBB3F
analogous
#713FBB #AF3FBB #BB3F89
triadic
#AF3FBB #BBAF3F #3FBBAF
tetradic
#AF3FBB #BB713F #4BBB3F #3F89BB
square
#AF3FBB #BB713F #4BBB3F #3F89BB
split-complementary
#AF3FBB #89BB3F #3FBB71
monochromatic
#59205F #84308D #AF3FBB #C36ACD #D698DC

Accessibility & contrast

On white

4.94
#AF3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AF3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FBB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FBB#FFFFFF#000000##FFFFFF
##AF3FBB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#B25378
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3fbb;
/* rgb */ color: rgb(175, 63, 187);
/* oklch */ color: oklch(57.2% 0.206 323.7);
Tailwind
colors: {
  custom: {
    50: '#ca7dd0',
    500: '#af3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #af3fbb;
$custom-light: #ca7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fbb",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 294.194,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5723,
    "c": 0.20564,
    "h": 323.7
  },
  "luminance": 0.16257
}

Semantic roles & 50–950 ramp

primary
#AF3FBB
secondary
#93C88E
accent
#D94F5C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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