#AF5DA2#AF5DA2

#AF5DA2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 59.8% C 0.138 H 333.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AF5DA2
RGBrgb(175, 93, 162)
HSLhsl(310, 34%, 53%)
HSVhsv(310, 47%, 69%)
CMYKcmyk(0%, 46.9%, 7.4%, 31.4%)
CIE-LABlab(51.33, 42.94, -22.81)
CIE-LCHlch(51.33, 48.62, 332.02°)
OKLaboklab(59.79% 0.1231 -0.0618)
OKLCHoklch(59.79% 0.138 333.3)
XYZxyz(28.1150, 19.5530, 36.4687)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5DA2 #5DAF6A
analogous
#935DAF #AF5DA2 #AF5D79
triadic
#AF5DA2 #A2AF5D #5DA2AF
tetradic
#AF5DA2 #AF935D #5DAF6A #5D79AF
square
#AF5DA2 #AF935D #5DAF6A #5D79AF
split-complementary
#AF5DA2 #79AF5D #5DAF93
monochromatic
#61305A #8A447F #AF5DA2 #C386BA #D7AFD1

Accessibility & contrast

On white

4.28
#AF5DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AF5DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5DA2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5DA2#FFFFFF#000000##000000
##AF5DA21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#727FA0
Tritanopia (blue-blind)
#B66278
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #af5da2;
/* rgb */ color: rgb(175, 93, 162);
/* oklch */ color: oklch(59.8% 0.138 333.3);
Tailwind
colors: {
  custom: {
    50: '#c98dbd',
    500: '#af5da2',
    950: '#000000',
  },
}
SCSS
$custom: #af5da2;
$custom-light: #c98dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#af5da2",
  "rgb": {
    "r": 175,
    "g": 93,
    "b": 162
  },
  "hsl": {
    "h": 309.512,
    "s": 33.884,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59787,
    "c": 0.13772,
    "h": 333.3
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

primary
#AF5DA2
secondary
#A2C6A8
accent
#CA6F5E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AF5DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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