#AF3EA5#AF3EA5

#AF3EA5 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.189 H 331.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#AF3EA5
RGBrgb(175, 62, 165)
HSLhsl(305, 48%, 46%)
HSVhsv(305, 65%, 69%)
CMYKcmyk(0%, 64.6%, 5.7%, 31.4%)
CIE-LABlab(46.01, 58.08, -32.85)
CIE-LCHlch(46.01, 66.73, 330.51°)
OKLaboklab(55.92% 0.1658 -0.0901)
OKLCHoklch(55.92% 0.189 331.5)
XYZxyz(26.1933, 15.2778, 37.1593)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3EA5 #3EAF48
analogous
#813EAF #AF3EA5 #AF3E6D
triadic
#AF3EA5 #A5AF3E #3EA5AF
tetradic
#AF3EA5 #AF813E #3EAF48 #3E6DAF
square
#AF3EA5 #AF813E #3EAF48 #3E6DAF
split-complementary
#AF3EA5 #6DAF3E #3EAF81
monochromatic
#551E50 #822E7A #AF3EA5 #C863BF #D890D1

Accessibility & contrast

On white

5.18
#AF3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF3EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3EA5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3EA5#FFFFFF#000000##FFFFFF
##AF3EA51.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#5E73A2
Tritanopia (blue-blind)
#B6496C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af3ea5;
/* rgb */ color: rgb(175, 62, 165);
/* oklch */ color: oklch(55.9% 0.189 331.5);
Tailwind
colors: {
  custom: {
    50: '#ca7cc0',
    500: '#af3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #af3ea5;
$custom-light: #ca7cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3ea5",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 305.31,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55916,
    "c": 0.18872,
    "h": 331.5
  },
  "luminance": 0.15276
}

Semantic roles & 50–950 ramp

primary
#AF3EA5
secondary
#86C38C
accent
#D75C51
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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