#AF3EA3#AF3EA3

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

Color values

HEX#AF3EA3
RGBrgb(175, 62, 163)
HSLhsl(306, 48%, 46%)
HSVhsv(306, 65%, 69%)
CMYKcmyk(0%, 64.6%, 6.9%, 31.4%)
CIE-LABlab(45.91, 57.76, -31.81)
CIE-LCHlch(45.91, 65.94, 331.15°)
OKLaboklab(55.81% 0.1656 -0.0872)
OKLCHoklch(55.81% 0.187 332.2)
XYZxyz(26.0127, 15.2055, 36.2081)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EA3 #3EAF4A
analogous
#833EAF #AF3EA3 #AF3E6B
triadic
#AF3EA3 #A3AF3E #3EA3AF
tetradic
#AF3EA3 #AF833E #3EAF4A #3E6BAF
square
#AF3EA3 #AF833E #3EAF4A #3E6BAF
split-complementary
#AF3EA3 #6BAF3E #3EAF83
monochromatic
#551E4F #822E79 #AF3EA3 #C863BD #D890D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3EA3#FFFFFF#000000##FFFFFF
##AF3EA31.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)
#3962A6
Deuteranopia (green-blind)
#5F72A0
Tritanopia (blue-blind)
#B6486B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3ea3;
/* rgb */ color: rgb(175, 62, 163);
/* oklch */ color: oklch(55.8% 0.187 332.2);
Tailwind
colors: {
  custom: {
    50: '#ca7bbe',
    500: '#af3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #af3ea3;
$custom-light: #ca7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ea3",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 306.372,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55813,
    "c": 0.18714,
    "h": 332.2
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#AF3EA3
secondary
#86C38D
accent
#D75F51
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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