#AF4AC8#AF4AC8

#AF4AC8 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.2% C 0.203 H 319.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#AF4AC8
RGBrgb(175, 74, 200)
HSLhsl(288, 53%, 54%)
HSVhsv(288, 63%, 78%)
CMYKcmyk(12.5%, 63%, 0%, 21.6%)
CIE-LABlab(49.72, 59.24, -47.44)
CIE-LCHlch(49.72, 75.90, 321.31°)
OKLaboklab(59.2% 0.1533 -0.1325)
OKLCHoklch(59.2% 0.203 319.1)
XYZxyz(30.5519, 18.1830, 56.5327)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4AC8 #63C84A
analogous
#704AC8 #AF4AC8 #C84AA2
triadic
#AF4AC8 #C8AF4A #4AC8AF
tetradic
#AF4AC8 #C8704A #63C84A #4AA2C8
square
#AF4AC8 #C8704A #63C84A #4AA2C8
split-complementary
#AF4AC8 #A2C84A #4AC870
monochromatic
#642374 #8D32A3 #AF4AC8 #C479D6 #D8A8E5

Accessibility & contrast

On white

4.53
#AF4AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#AF4AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4AC8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4AC8#FFFFFF#000000##000000
##AF4AC81.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#266FCC
Deuteranopia (green-blind)
#527AC5
Tritanopia (blue-blind)
#AF5F82
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #af4ac8;
/* rgb */ color: rgb(175, 74, 200);
/* oklch */ color: oklch(59.2% 0.203 319.1);
Tailwind
colors: {
  custom: {
    50: '#ca83d9',
    500: '#af4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #af4ac8;
$custom-light: #ca83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ac8",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 288.095,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59202,
    "c": 0.20264,
    "h": 319.1
  },
  "luminance": 0.18182
}

Semantic roles & 50–950 ramp

primary
#AF4AC8
secondary
#A7D29C
accent
#DD4B68
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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