#AF5EA3#AF5EA3

#AF5EA3 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.0% C 0.137 H 332.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AF5EA3
RGBrgb(175, 94, 163)
HSLhsl(309, 34%, 53%)
HSVhsv(309, 46%, 69%)
CMYKcmyk(0%, 46.3%, 6.9%, 31.4%)
CIE-LABlab(51.57, 42.59, -23.02)
CIE-LCHlch(51.57, 48.42, 331.61°)
OKLaboklab(59.98% 0.1218 -0.0624)
OKLCHoklch(59.98% 0.137 332.9)
XYZxyz(28.2926, 19.7654, 36.9681)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EA3 #5EAF6A
analogous
#925EAF #AF5EA3 #AF5E7A
triadic
#AF5EA3 #A3AF5E #5EA3AF
tetradic
#AF5EA3 #AF925E #5EAF6A #5E7AAF
square
#AF5EA3 #AF925E #5EAF6A #5E7AAF
split-complementary
#AF5EA3 #7AAF5E #5EAF92
monochromatic
#62315B #8B4580 #AF5EA3 #C387BA #D8B0D2

Accessibility & contrast

On white

4.24
#AF5EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AF5EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EA3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EA3#FFFFFF#000000##000000
##AF5EA31.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C74A5
Deuteranopia (green-blind)
#737FA1
Tritanopia (blue-blind)
#B56379
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af5ea3;
/* rgb */ color: rgb(175, 94, 163);
/* oklch */ color: oklch(60.0% 0.137 332.9);
Tailwind
colors: {
  custom: {
    50: '#c98ebe',
    500: '#af5ea3',
    950: '#000000',
  },
}
SCSS
$custom: #af5ea3;
$custom-light: #c98ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ea3",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 163
  },
  "hsl": {
    "h": 308.889,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.13686,
    "h": 332.9
  },
  "luminance": 0.19764
}

Semantic roles & 50–950 ramp

primary
#AF5EA3
secondary
#A3C6A8
accent
#CA6E5E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AF5EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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