#AF4ADD#AF4ADD

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

Color values

HEX#AF4ADD
RGBrgb(175, 74, 221)
HSLhsl(281, 68%, 58%)
HSVhsv(281, 67%, 87%)
CMYKcmyk(20.8%, 66.5%, 0%, 13.3%)
CIE-LABlab(50.96, 63.43, -57.46)
CIE-LCHlch(50.96, 85.59, 317.83°)
OKLaboklab(60.5% 0.1526 -0.1619)
OKLCHoklch(60.5% 0.222 313.3)
XYZxyz(33.1769, 19.2330, 70.3573)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ADD #78DD4A
analogous
#654ADD #AF4ADD #DD4AC2
triadic
#AF4ADD #DDAF4A #4ADDAF
tetradic
#AF4ADD #DD654A #78DD4A #4AC2DD
square
#AF4ADD #DD654A #78DD4A #4AC2DD
split-complementary
#AF4ADD #C2DD4A #4ADD65
monochromatic
#6C1B91 #9325C5 #AF4ADD #C67EE7 #DDB1F0

Accessibility & contrast

On white

4.33
#AF4ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#AF4ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ADD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ADD#FFFFFF#000000##000000
##AF4ADD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#AA678E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4add;
/* rgb */ color: rgb(175, 74, 221);
/* oklch */ color: oklch(60.5% 0.222 313.3);
Tailwind
colors: {
  custom: {
    50: '#cb84e8',
    500: '#af4add',
    950: '#000000',
  },
}
SCSS
$custom: #af4add;
$custom-light: #cb84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4add",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 221
  },
  "hsl": {
    "h": 281.224,
    "s": 68.372,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60495,
    "c": 0.22247,
    "h": 313.3
  },
  "luminance": 0.19232
}

Semantic roles & 50–950 ramp

primary
#AF4ADD
secondary
#B6DFA4
accent
#EB3D73
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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