#AF3FBE#AF3FBE

#AF3FBE is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.208 H 322.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF3FBE
RGBrgb(175, 63, 190)
HSLhsl(293, 50%, 50%)
HSVhsv(293, 67%, 75%)
CMYKcmyk(7.9%, 66.8%, 0%, 25.5%)
CIE-LABlab(47.48, 62.02, -45.22)
CIE-LCHlch(47.48, 76.75, 323.90°)
OKLaboklab(57.4% 0.1658 -0.126)
OKLCHoklch(57.4% 0.208 322.8)
XYZxyz(28.7500, 16.3883, 50.3541)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FBE #4EBE3F
analogous
#6F3FBE #AF3FBE #BE3F8E
triadic
#AF3FBE #BEAF3F #3FBEAF
tetradic
#AF3FBE #BE6F3F #4EBE3F #3F8EBE
square
#AF3FBE #BE6F3F #4EBE3F #3F8EBE
split-complementary
#AF3FBE #8EBE3F #3FBE6F
monochromatic
#5A2162 #853090 #AF3FBE #C36CCE #D69ADD

Accessibility & contrast

On white

4.91
#AF3FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AF3FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FBE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FBE#FFFFFF#000000##FFFFFF
##AF3FBE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#5175BB
Tritanopia (blue-blind)
#B15479
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af3fbe;
/* rgb */ color: rgb(175, 63, 190);
/* oklch */ color: oklch(57.4% 0.208 322.8);
Tailwind
colors: {
  custom: {
    50: '#ca7dd2',
    500: '#af3fbe',
    950: '#000000',
  },
}
SCSS
$custom: #af3fbe;
$custom-light: #ca7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fbe",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 190
  },
  "hsl": {
    "h": 292.913,
    "s": 50.198,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.20822,
    "h": 322.8
  },
  "luminance": 0.16387
}

Semantic roles & 50–950 ramp

primary
#AF3FBE
secondary
#96C98F
accent
#DA4E5F
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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