#AF4ABF#AF4ABF

#AF4ABF is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.194 H 322.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#AF4ABF
RGBrgb(175, 74, 191)
HSLhsl(292, 48%, 52%)
HSVhsv(292, 61%, 75%)
CMYKcmyk(8.4%, 61.3%, 0%, 25.1%)
CIE-LABlab(49.22, 57.52, -43.03)
CIE-LCHlch(49.22, 71.83, 323.20°)
OKLaboklab(58.68% 0.1531 -0.1197)
OKLCHoklch(58.68% 0.194 322)
XYZxyz(29.5309, 17.7746, 51.1555)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ABF #5ABF4A
analogous
#754ABF #AF4ABF #BF4A95
triadic
#AF4ABF #BFAF4A #4ABFAF
tetradic
#AF4ABF #BF754A #5ABF4A #4A95BF
square
#AF4ABF #BF754A #5ABF4A #4A95BF
split-complementary
#AF4ABF #95BF4A #4ABF75
monochromatic
#602569 #893597 #AF4ABF #C377CF #D7A4DF

Accessibility & contrast

On white

4.61
#AF4ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4ABF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ABF#FFFFFF#000000##FFFFFF
##AF4ABF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316EC3
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#B15C7E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4abf;
/* rgb */ color: rgb(175, 74, 191);
/* oklch */ color: oklch(58.7% 0.194 322.0);
Tailwind
colors: {
  custom: {
    50: '#ca83d3',
    500: '#af4abf',
    950: '#000000',
  },
}
SCSS
$custom: #af4abf;
$custom-light: #ca83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4abf",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 291.795,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58682,
    "c": 0.19431,
    "h": 322
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#AF4ABF
secondary
#A0CC99
accent
#D75063
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #AF4ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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