#AF3DA2#AF3DA2

#AF3DA2 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.7% C 0.188 H 332.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#AF3DA2
RGBrgb(175, 61, 162)
HSLhsl(307, 48%, 46%)
HSVhsv(307, 65%, 69%)
CMYKcmyk(0%, 65.1%, 7.4%, 31.4%)
CIE-LABlab(45.72, 58.00, -31.52)
CIE-LCHlch(45.72, 66.01, 331.47°)
OKLaboklab(55.66% 0.1667 -0.0863)
OKLCHoklch(55.66% 0.188 332.6)
XYZxyz(25.8696, 15.0621, 35.7202)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DA2 #3DAF4A
analogous
#833DAF #AF3DA2 #AF3D69
triadic
#AF3DA2 #A2AF3D #3DA2AF
tetradic
#AF3DA2 #AF833D #3DAF4A #3D69AF
square
#AF3DA2 #AF833D #3DAF4A #3D69AF
split-complementary
#AF3DA2 #69AF3D #3DAF83
monochromatic
#541D4E #822D78 #AF3DA2 #C861BC #D88FCF

Accessibility & contrast

On white

5.23
#AF3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF3DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DA2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DA2#FFFFFF#000000##FFFFFF
##AF3DA21.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#5F729F
Tritanopia (blue-blind)
#B6476A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3da2;
/* rgb */ color: rgb(175, 61, 162);
/* oklch */ color: oklch(55.7% 0.188 332.6);
Tailwind
colors: {
  custom: {
    50: '#ca7bbe',
    500: '#af3da2',
    950: '#000000',
  },
}
SCSS
$custom: #af3da2;
$custom-light: #ca7bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#af3da2",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 306.842,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55655,
    "c": 0.18771,
    "h": 332.6
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#AF3DA2
secondary
#85C38C
accent
#D85F50
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A12
muted
#827C81

Preview Lab

Preview with #AF3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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