#AF3FBA#AF3FBA

#AF3FBA is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.2% C 0.205 H 324.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF3FBA
RGBrgb(175, 63, 186)
HSLhsl(295, 49%, 49%)
HSVhsv(295, 66%, 73%)
CMYKcmyk(5.9%, 66.1%, 0%, 27.1%)
CIE-LABlab(47.26, 61.29, -43.24)
CIE-LCHlch(47.26, 75.01, 324.80°)
OKLaboklab(57.17% 0.1658 -0.1202)
OKLCHoklch(57.17% 0.205 324)
XYZxyz(28.3189, 16.2158, 48.0832)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FBA #4ABA3F
analogous
#723FBA #AF3FBA #BA3F88
triadic
#AF3FBA #BAAF3F #3FBAAF
tetradic
#AF3FBA #BA723F #4ABA3F #3F88BA
square
#AF3FBA #BA723F #4ABA3F #3F88BA
split-complementary
#AF3FBA #88BA3F #3FBA72
monochromatic
#59205F #84308C #AF3FBA #C46ACC #D697DC

Accessibility & contrast

On white

4.95
#AF3FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF3FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FBA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FBA#FFFFFF#000000##FFFFFF
##AF3FBA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BE
Deuteranopia (green-blind)
#5475B7
Tritanopia (blue-blind)
#B25277
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af3fba;
/* rgb */ color: rgb(175, 63, 186);
/* oklch */ color: oklch(57.2% 0.205 324.0);
Tailwind
colors: {
  custom: {
    50: '#ca7dcf',
    500: '#af3fba',
    950: '#000000',
  },
}
SCSS
$custom: #af3fba;
$custom-light: #ca7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fba",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 186
  },
  "hsl": {
    "h": 294.634,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57172,
    "c": 0.20478,
    "h": 324
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#AF3FBA
secondary
#92C88D
accent
#D94F5B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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