#AF3BD0#AF3BD0

#AF3BD0 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.229 H 317.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AF3BD0
RGBrgb(175, 59, 208)
HSLhsl(287, 61%, 52%)
HSVhsv(287, 72%, 82%)
CMYKcmyk(15.9%, 71.6%, 0%, 18.4%)
CIE-LABlab(48.00, 66.91, -54.79)
CIE-LCHlch(48.00, 86.48, 320.69°)
OKLaboklab(58.12% 0.169 -0.1539)
OKLCHoklch(58.12% 0.229 317.7)
XYZxyz(30.6267, 16.7973, 61.2912)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BD0 #5CD03B
analogous
#643BD0 #AF3BD0 #D03BA7
triadic
#AF3BD0 #D0AF3B #3BD0AF
tetradic
#AF3BD0 #D0643B #5CD03B #3BA7D0
square
#AF3BD0 #D0643B #5CD03B #3BA7D0
split-complementary
#AF3BD0 #A7D03B #3BD064
monochromatic
#611C75 #8A28A6 #AF3BD0 #C36CDC #D79EE8

Accessibility & contrast

On white

4.82
#AF3BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF3BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BD0
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BD0#FFFFFF#000000##FFFFFF
##AF3BD01.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#4075CD
Tritanopia (blue-blind)
#AE5982
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3bd0;
/* rgb */ color: rgb(175, 59, 208);
/* oklch */ color: oklch(58.1% 0.229 317.7);
Tailwind
colors: {
  custom: {
    50: '#cb7cdf',
    500: '#af3bd0',
    950: '#000000',
  },
}
SCSS
$custom: #af3bd0;
$custom-light: #cb7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bd0",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 208
  },
  "hsl": {
    "h": 286.711,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58124,
    "c": 0.22862,
    "h": 317.7
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#AF3BD0
secondary
#A1D493
accent
#E44367
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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