#AF4ACD#AF4ACD

#AF4ACD is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.207 H 317.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AF4ACD
RGBrgb(175, 74, 205)
HSLhsl(286, 57%, 55%)
HSVhsv(286, 64%, 80%)
CMYKcmyk(14.6%, 63.9%, 0%, 19.6%)
CIE-LABlab(50.00, 60.22, -49.86)
CIE-LCHlch(50.00, 78.18, 320.38°)
OKLaboklab(59.5% 0.1533 -0.1396)
OKLCHoklch(59.5% 0.207 317.7)
XYZxyz(31.1459, 18.4206, 59.6607)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4ACD #68CD4A
analogous
#6E4ACD #AF4ACD #CD4AA9
triadic
#AF4ACD #CDAF4A #4ACDAF
tetradic
#AF4ACD #CD6E4A #68CD4A #4AA9CD
square
#AF4ACD #CD6E4A #68CD4A #4AA9CD
split-complementary
#AF4ACD #A9CD4A #4ACD6E
monochromatic
#66227B #8E2FAB #AF4ACD #C47ADA #D9AAE7

Accessibility & contrast

On white

4.48
#AF4ACD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#AF4ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4ACD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4ACD#FFFFFF#000000##000000
##AF4ACD1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4acd;
/* rgb */ color: rgb(175, 74, 205);
/* oklch */ color: oklch(59.5% 0.207 317.7);
Tailwind
colors: {
  custom: {
    50: '#ca83dd',
    500: '#af4acd',
    950: '#000000',
  },
}
SCSS
$custom: #af4acd;
$custom-light: #ca83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#af4acd",
  "rgb": {
    "r": 175,
    "g": 74,
    "b": 205
  },
  "hsl": {
    "h": 286.26,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59499,
    "c": 0.20731,
    "h": 317.7
  },
  "luminance": 0.18419
}

Semantic roles & 50–950 ramp

primary
#AF4ACD
secondary
#AAD59E
accent
#E0486B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #AF4ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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