#AF4ADE#AF4ADE

#AF4ADE is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.223 H 313.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#AF4ADE
RGBrgb(175, 74, 222)
HSLhsl(281, 69%, 58%)
HSVhsv(281, 67%, 87%)
CMYKcmyk(21.2%, 66.7%, 0%, 12.9%)
CIE-LABlab(51.02, 63.64, -57.93)
CIE-LCHlch(51.02, 86.06, 317.69°)
OKLaboklab(60.56% 0.1525 -0.1632)
OKLCHoklch(60.56% 0.223 313.1)
XYZxyz(33.3105, 19.2864, 71.0610)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ADE #79DE4A
analogous
#654ADE #AF4ADE #DE4AC3
triadic
#AF4ADE #DEAF4A #4ADEAF
tetradic
#AF4ADE #DE654A #79DE4A #4AC3DE
square
#AF4ADE #DE654A #79DE4A #4AC3DE
split-complementary
#AF4ADE #C3DE4A #4ADE65
monochromatic
#6D1B93 #9324C7 #AF4ADE #C67EE7 #DDB2F1

Accessibility & contrast

On white

4.32
#AF4ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#AF4ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ADE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ADE#FFFFFF#000000##000000
##AF4ADE1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#3F7CDB
Tritanopia (blue-blind)
#AA688E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4ade;
/* rgb */ color: rgb(175, 74, 222);
/* oklch */ color: oklch(60.6% 0.223 313.1);
Tailwind
colors: {
  custom: {
    50: '#cb84e9',
    500: '#af4ade',
    950: '#000000',
  },
}
SCSS
$custom: #af4ade;
$custom-light: #cb84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4ade",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 222
  },
  "hsl": {
    "h": 280.946,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60559,
    "c": 0.22342,
    "h": 313.1
  },
  "luminance": 0.19285
}

Semantic roles & 50–950 ramp

primary
#AF4ADE
secondary
#B7DFA4
accent
#EC3C74
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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