#AF4DB0#AF4DB0

#AF4DB0 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.2% C 0.176 H 327.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AF4DB0
RGBrgb(175, 77, 176)
HSLhsl(299, 39%, 50%)
HSVhsv(299, 56%, 69%)
CMYKcmyk(0.6%, 56.2%, 0%, 31%)
CIE-LABlab(48.96, 53.38, -34.71)
CIE-LCHlch(48.96, 63.67, 326.97°)
OKLaboklab(58.24% 0.1481 -0.0956)
OKLCHoklch(58.24% 0.176 327.2)
XYZxyz(28.1691, 17.5580, 42.9712)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4DB0 #4EB04D
analogous
#7E4DB0 #AF4DB0 #B04D80
triadic
#AF4DB0 #B0AF4D #4DB0AF
tetradic
#AF4DB0 #B07E4D #4EB04D #4D80B0
square
#AF4DB0 #B07E4D #4EB04D #4D80B0
split-complementary
#AF4DB0 #80B04D #4DB07E
monochromatic
#5A285B #853A85 #AF4DB0 #C377C3 #D6A1D6

Accessibility & contrast

On white

4.66
#AF4DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#AF4DB0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4DB0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4DB0#FFFFFF#000000##FFFFFF
##AF4DB01.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB3
Deuteranopia (green-blind)
#6279AD
Tritanopia (blue-blind)
#B45977
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #af4db0;
/* rgb */ color: rgb(175, 77, 176);
/* oklch */ color: oklch(58.2% 0.176 327.2);
Tailwind
colors: {
  custom: {
    50: '#c984c8',
    500: '#af4db0',
    950: '#000000',
  },
}
SCSS
$custom: #af4db0;
$custom-light: #c984c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4db0",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 176
  },
  "hsl": {
    "h": 299.394,
    "s": 39.13,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58238,
    "c": 0.17631,
    "h": 327.2
  },
  "luminance": 0.17556
}

Semantic roles & 50–950 ramp

primary
#AF4DB0
secondary
#96C396
accent
#CF595A
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AF4DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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