#AF3FAA#AF3FAA

#AF3FAA is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.191 H 329.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AF3FAA
RGBrgb(175, 63, 170)
HSLhsl(303, 47%, 47%)
HSVhsv(303, 64%, 69%)
CMYKcmyk(0%, 64%, 2.9%, 31.4%)
CIE-LABlab(46.41, 58.51, -35.18)
CIE-LCHlch(46.41, 68.27, 328.98°)
OKLaboklab(56.29% 0.1651 -0.0969)
OKLCHoklch(56.29% 0.191 329.6)
XYZxyz(26.7122, 15.5731, 39.6214)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3FAA #3FAF44
analogous
#7C3FAF #AF3FAA #AF3F72
triadic
#AF3FAA #AAAF3F #3FAAAF
tetradic
#AF3FAA #AF7C3F #3FAF44 #3F72AF
square
#AF3FAA #AF7C3F #3FAF44 #3F72AF
split-complementary
#AF3FAA #72AF3F #3FAF7C
monochromatic
#551F53 #822F7E #AF3FAA #C764C3 #D791D4

Accessibility & contrast

On white

5.10
#AF3FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF3FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3FAA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3FAA#FFFFFF#000000##FFFFFF
##AF3FAA1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#5D73A7
Tritanopia (blue-blind)
#B54C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3faa;
/* rgb */ color: rgb(175, 63, 170);
/* oklch */ color: oklch(56.3% 0.191 329.6);
Tailwind
colors: {
  custom: {
    50: '#ca7cc3',
    500: '#af3faa',
    950: '#000000',
  },
}
SCSS
$custom: #af3faa;
$custom-light: #ca7cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3faa",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 302.679,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.19139,
    "h": 329.6
  },
  "luminance": 0.15571
}

Semantic roles & 50–950 ramp

primary
#AF3FAA
secondary
#87C38A
accent
#D75751
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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