#AF4ABE#AF4ABE

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

Color values

HEX#AF4ABE
RGBrgb(175, 74, 190)
HSLhsl(292, 47%, 52%)
HSVhsv(292, 61%, 75%)
CMYKcmyk(7.9%, 61.1%, 0%, 25.5%)
CIE-LABlab(49.17, 57.33, -42.53)
CIE-LCHlch(49.17, 71.39, 323.43°)
OKLaboklab(58.63% 0.153 -0.1182)
OKLCHoklch(58.63% 0.193 322.3)
XYZxyz(29.4213, 17.7307, 50.5779)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ABE #59BE4A
analogous
#754ABE #AF4ABE #BE4A93
triadic
#AF4ABE #BEAF4A #4ABEAF
tetradic
#AF4ABE #BE754A #59BE4A #4A93BE
square
#AF4ABE #BE754A #59BE4A #4A93BE
split-complementary
#AF4ABE #93BE4A #4ABE75
monochromatic
#602568 #893695 #AF4ABE #C377CE #D7A4DE

Accessibility & contrast

On white

4.62
#AF4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#AF4ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4ABE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ABE#FFFFFF#000000##FFFFFF
##AF4ABE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326DC2
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#B15C7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4abe;
/* rgb */ color: rgb(175, 74, 190);
/* oklch */ color: oklch(58.6% 0.193 322.3);
Tailwind
colors: {
  custom: {
    50: '#ca83d2',
    500: '#af4abe',
    950: '#000000',
  },
}
SCSS
$custom: #af4abe;
$custom-light: #ca83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4abe",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 292.241,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.19339,
    "h": 322.3
  },
  "luminance": 0.17729
}

Semantic roles & 50–950 ramp

primary
#AF4ABE
secondary
#9FCB98
accent
#D75162
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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