#AF4ABD#AF4ABD

#AF4ABD is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.6% C 0.192 H 322.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#AF4ABD
RGBrgb(175, 74, 189)
HSLhsl(293, 47%, 52%)
HSVhsv(293, 61%, 74%)
CMYKcmyk(7.4%, 60.8%, 0%, 25.9%)
CIE-LABlab(49.11, 57.15, -42.04)
CIE-LCHlch(49.11, 70.94, 323.66°)
OKLaboklab(58.57% 0.153 -0.1168)
OKLCHoklch(58.57% 0.192 322.6)
XYZxyz(29.3124, 17.6872, 50.0042)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ABD #58BD4A
analogous
#764ABD #AF4ABD #BD4A92
triadic
#AF4ABD #BDAF4A #4ABDAF
tetradic
#AF4ABD #BD764A #58BD4A #4A92BD
square
#AF4ABD #BD764A #58BD4A #4A92BD
split-complementary
#AF4ABD #92BD4A #4ABD76
monochromatic
#5F2667 #883694 #AF4ABD #C377CD #D7A4DE

Accessibility & contrast

On white

4.63
#AF4ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AF4ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4ABD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ABD#FFFFFF#000000##FFFFFF
##AF4ABD1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DC1
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#B15B7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4abd;
/* rgb */ color: rgb(175, 74, 189);
/* oklch */ color: oklch(58.6% 0.192 322.6);
Tailwind
colors: {
  custom: {
    50: '#ca83d1',
    500: '#af4abd',
    950: '#000000',
  },
}
SCSS
$custom: #af4abd;
$custom-light: #ca83d1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4abd",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 292.696,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5857,
    "c": 0.19248,
    "h": 322.6
  },
  "luminance": 0.17686
}

Semantic roles & 50–950 ramp

primary
#AF4ABD
secondary
#9ECB98
accent
#D65262
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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