#AF4ACF#AF4ACF

#AF4ACF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.209 H 317.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#AF4ACF
RGBrgb(175, 74, 207)
HSLhsl(286, 58%, 55%)
HSVhsv(286, 64%, 81%)
CMYKcmyk(15.5%, 64.3%, 0%, 18.8%)
CIE-LABlab(50.12, 60.61, -50.82)
CIE-LCHlch(50.12, 79.10, 320.02°)
OKLaboklab(59.62% 0.1532 -0.1424)
OKLCHoklch(59.62% 0.209 317.1)
XYZxyz(31.3888, 18.5178, 60.9402)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ACF #6ACF4A
analogous
#6C4ACF #AF4ACF #CF4AAC
triadic
#AF4ACF #CFAF4A #4ACFAF
tetradic
#AF4ACF #CF6C4A #6ACF4A #4AACCF
square
#AF4ACF #CF6C4A #6ACF4A #4AACCF
split-complementary
#AF4ACF #ACCF4A #4ACF6C
monochromatic
#67217D #8F2EAE #AF4ACF #C47ADC #DAABE9

Accessibility & contrast

On white

4.46
#AF4ACF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#AF4ACF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ACF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ACF#FFFFFF#000000##000000
##AF4ACF1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#AE6286
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #af4acf;
/* rgb */ color: rgb(175, 74, 207);
/* oklch */ color: oklch(59.6% 0.209 317.1);
Tailwind
colors: {
  custom: {
    50: '#ca83de',
    500: '#af4acf',
    950: '#000000',
  },
}
SCSS
$custom: #af4acf;
$custom-light: #ca83de;
$custom-dark: #000000;
JSON
{
  "hex": "#af4acf",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 285.564,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5962,
    "c": 0.2092,
    "h": 317.1
  },
  "luminance": 0.18517
}

Semantic roles & 50–950 ramp

primary
#AF4ACF
secondary
#ACD69F
accent
#E1466C
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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