#AF3BD2#AF3BD2

#AF3BD2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.230 H 317.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#AF3BD2
RGBrgb(175, 59, 210)
HSLhsl(286, 63%, 53%)
HSVhsv(286, 72%, 82%)
CMYKcmyk(16.7%, 71.9%, 0%, 17.6%)
CIE-LABlab(48.13, 67.29, -55.73)
CIE-LCHlch(48.13, 87.37, 320.37°)
OKLaboklab(58.25% 0.1688 -0.1567)
OKLCHoklch(58.25% 0.23 317.1)
XYZxyz(30.8743, 16.8963, 62.5953)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BD2 #5ED23B
analogous
#643BD2 #AF3BD2 #D23BA9
triadic
#AF3BD2 #D2AF3B #3BD2AF
tetradic
#AF3BD2 #D2643B #5ED23B #3BA9D2
square
#AF3BD2 #D2643B #5ED23B #3BA9D2
split-complementary
#AF3BD2 #A9D23B #3BD264
monochromatic
#621B77 #8B27A9 #AF3BD2 #C36DDD #D89FE9

Accessibility & contrast

On white

4.80
#AF3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AF3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BD2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BD2#FFFFFF#000000##FFFFFF
##AF3BD21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#3E76CF
Tritanopia (blue-blind)
#AD5A83
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3bd2;
/* rgb */ color: rgb(175, 59, 210);
/* oklch */ color: oklch(58.3% 0.230 317.1);
Tailwind
colors: {
  custom: {
    50: '#cb7ce0',
    500: '#af3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #af3bd2;
$custom-light: #cb7ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bd2",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 286.093,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58253,
    "c": 0.23035,
    "h": 317.1
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#AF3BD2
secondary
#A3D594
accent
#E64268
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AF3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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