#AF4ADC#AF4ADC

#AF4ADC is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.4% C 0.222 H 313.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF4ADC
RGBrgb(175, 74, 220)
HSLhsl(282, 68%, 58%)
HSVhsv(282, 66%, 86%)
CMYKcmyk(20.5%, 66.4%, 0%, 13.7%)
CIE-LABlab(50.90, 63.23, -56.99)
CIE-LCHlch(50.90, 85.12, 317.97°)
OKLaboklab(60.43% 0.1527 -0.1605)
OKLCHoklch(60.43% 0.222 313.6)
XYZxyz(33.0440, 19.1798, 69.6577)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ADC #77DC4A
analogous
#664ADC #AF4ADC #DC4AC0
triadic
#AF4ADC #DCAF4A #4ADCAF
tetradic
#AF4ADC #DC664A #77DC4A #4AC0DC
square
#AF4ADC #DC664A #77DC4A #4AC0DC
split-complementary
#AF4ADC #C0DC4A #4ADC66
monochromatic
#6C1C90 #9326C3 #AF4ADC #C67DE6 #DCB1F0

Accessibility & contrast

On white

4.34
#AF4ADC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#AF4ADC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ADC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ADC#FFFFFF#000000##000000
##AF4ADC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#AB678D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4adc;
/* rgb */ color: rgb(175, 74, 220);
/* oklch */ color: oklch(60.4% 0.222 313.6);
Tailwind
colors: {
  custom: {
    50: '#cb84e8',
    500: '#af4adc',
    950: '#000000',
  },
}
SCSS
$custom: #af4adc;
$custom-light: #cb84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4adc",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 281.507,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60431,
    "c": 0.22151,
    "h": 313.6
  },
  "luminance": 0.19179
}

Semantic roles & 50–950 ramp

primary
#AF4ADC
secondary
#B6DEA4
accent
#EA3D73
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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