#AF4BD9#AF4BD9

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

Color values

HEX#AF4BD9
RGBrgb(175, 75, 217)
HSLhsl(282, 65%, 57%)
HSVhsv(282, 65%, 85%)
CMYKcmyk(19.4%, 65.4%, 0%, 14.9%)
CIE-LABlab(50.87, 62.18, -55.33)
CIE-LCHlch(50.87, 83.23, 318.34°)
OKLaboklab(60.35% 0.1517 -0.1556)
OKLCHoklch(60.35% 0.217 314.3)
XYZxyz(32.7176, 19.1569, 67.6064)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4BD9 #75D94B
analogous
#684BD9 #AF4BD9 #D94BBC
triadic
#AF4BD9 #D9AF4B #4BD9AF
tetradic
#AF4BD9 #D9684B #75D94B #4BBCD9
square
#AF4BD9 #D9684B #75D94B #4BBCD9
split-complementary
#AF4BD9 #BCD94B #4BD968
monochromatic
#6B1E8C #9228BF #AF4BD9 #C57EE4 #DCB0EE

Accessibility & contrast

On white

4.35
#AF4BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AF4BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF4BD9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4BD9#FFFFFF#000000##000000
##AF4BD91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#457CD6
Tritanopia (blue-blind)
#AB678C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af4bd9;
/* rgb */ color: rgb(175, 75, 217);
/* oklch */ color: oklch(60.4% 0.217 314.3);
Tailwind
colors: {
  custom: {
    50: '#cb84e5',
    500: '#af4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #af4bd9;
$custom-light: #cb84e5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4bd9",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 282.254,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.21736,
    "h": 314.3
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#AF4BD9
secondary
#B4DDA3
accent
#E84072
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140B16
muted
#827C84

Preview Lab

Preview with #AF4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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