#AF3FA0#AF3FA0

#AF3FA0 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.183 H 333.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF3FA0
RGBrgb(175, 63, 160)
HSLhsl(308, 47%, 47%)
HSVhsv(308, 64%, 69%)
CMYKcmyk(0%, 64%, 8.6%, 31.4%)
CIE-LABlab(45.92, 56.86, -30.02)
CIE-LCHlch(45.92, 64.30, 332.16°)
OKLaboklab(55.77% 0.1641 -0.082)
OKLCHoklch(55.77% 0.183 333.4)
XYZxyz(25.8020, 15.2090, 34.8276)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FA0 #3FAF4E
analogous
#863FAF #AF3FA0 #AF3F68
triadic
#AF3FA0 #A0AF3F #3FA0AF
tetradic
#AF3FA0 #AF863F #3FAF4E #3F68AF
square
#AF3FA0 #AF863F #3FAF4E #3F68AF
split-complementary
#AF3FA0 #68AF3F #3FAF86
monochromatic
#551F4E #822F77 #AF3FA0 #C764BA #D791CE

Accessibility & contrast

On white

5.20
#AF3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF3FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FA0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FA0#FFFFFF#000000##FFFFFF
##AF3FA01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#61739D
Tritanopia (blue-blind)
#B7486A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3fa0;
/* rgb */ color: rgb(175, 63, 160);
/* oklch */ color: oklch(55.8% 0.183 333.4);
Tailwind
colors: {
  custom: {
    50: '#ca7cbc',
    500: '#af3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #af3fa0;
$custom-light: #ca7cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#af3fa0",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 308.036,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5577,
    "c": 0.18342,
    "h": 333.4
  },
  "luminance": 0.15207
}

Semantic roles & 50–950 ramp

primary
#AF3FA0
secondary
#87C38F
accent
#D76351
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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