#AF4ABC#AF4ABC

#AF4ABC is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.192 H 323.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4ABC
RGBrgb(175, 74, 188)
HSLhsl(293, 46%, 51%)
HSVhsv(293, 61%, 74%)
CMYKcmyk(6.9%, 60.6%, 0%, 26.3%)
CIE-LABlab(49.06, 56.96, -41.54)
CIE-LCHlch(49.06, 70.50, 323.90°)
OKLaboklab(58.51% 0.1529 -0.1154)
OKLCHoklch(58.51% 0.192 323)
XYZxyz(29.2042, 17.6439, 49.4345)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ABC #57BC4A
analogous
#764ABC #AF4ABC #BC4A90
triadic
#AF4ABC #BCAF4A #4ABCAF
tetradic
#AF4ABC #BC764A #57BC4A #4A90BC
square
#AF4ABC #BC764A #57BC4A #4A90BC
split-complementary
#AF4ABC #90BC4A #4ABC76
monochromatic
#5F2666 #883693 #AF4ABC #C377CD #D6A3DD

Accessibility & contrast

On white

4.64
#AF4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#AF4ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4ABC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ABC#FFFFFF#000000##FFFFFF
##AF4ABC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DC0
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#B25B7C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af4abc;
/* rgb */ color: rgb(175, 74, 188);
/* oklch */ color: oklch(58.5% 0.192 323.0);
Tailwind
colors: {
  custom: {
    50: '#ca83d0',
    500: '#af4abc',
    950: '#000000',
  },
}
SCSS
$custom: #af4abc;
$custom-light: #ca83d0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4abc",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 293.158,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58514,
    "c": 0.19157,
    "h": 323
  },
  "luminance": 0.17642
}

Semantic roles & 50–950 ramp

primary
#AF4ABC
secondary
#9ECA98
accent
#D65261
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #AF4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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