#AF4ACC#AF4ACC

#AF4ACC is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.4% C 0.206 H 318.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AF4ACC
RGBrgb(175, 74, 204)
HSLhsl(287, 56%, 55%)
HSVhsv(287, 64%, 80%)
CMYKcmyk(14.2%, 63.7%, 0%, 20%)
CIE-LABlab(49.94, 60.02, -49.38)
CIE-LCHlch(49.94, 77.72, 320.56°)
OKLaboklab(59.44% 0.1533 -0.1382)
OKLCHoklch(59.44% 0.206 318)
XYZxyz(31.0255, 18.3724, 59.0270)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ACC #67CC4A
analogous
#6E4ACC #AF4ACC #CC4AA8
triadic
#AF4ACC #CCAF4A #4ACCAF
tetradic
#AF4ACC #CC6E4A #67CC4A #4AA8CC
square
#AF4ACC #CC6E4A #67CC4A #4AA8CC
split-complementary
#AF4ACC #A8CC4A #4ACC6E
monochromatic
#662279 #8E30A9 #AF4ACC #C47AD9 #D9A9E7

Accessibility & contrast

On white

4.49
#AF4ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#AF4ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ACC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ACC#FFFFFF#000000##000000
##AF4ACC1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F70D0
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#AE6185
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4acc;
/* rgb */ color: rgb(175, 74, 204);
/* oklch */ color: oklch(59.4% 0.206 318.0);
Tailwind
colors: {
  custom: {
    50: '#ca83dc',
    500: '#af4acc',
    950: '#000000',
  },
}
SCSS
$custom: #af4acc;
$custom-light: #ca83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#af4acc",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 286.615,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59439,
    "c": 0.20638,
    "h": 318
  },
  "luminance": 0.18371
}

Semantic roles & 50–950 ramp

primary
#AF4ACC
secondary
#AAD49D
accent
#DF486A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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