#AF3BD3#AF3BD3

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

Color values

HEX#AF3BD3
RGBrgb(175, 59, 211)
HSLhsl(286, 63%, 53%)
HSVhsv(286, 72%, 83%)
CMYKcmyk(17.1%, 72%, 0%, 17.3%)
CIE-LABlab(48.19, 67.48, -56.20)
CIE-LCHlch(48.19, 87.82, 320.21°)
OKLaboklab(58.32% 0.1687 -0.1581)
OKLCHoklch(58.32% 0.231 316.9)
XYZxyz(30.9993, 16.9463, 63.2535)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BD3 #5FD33B
analogous
#633BD3 #AF3BD3 #D33BAB
triadic
#AF3BD3 #D3AF3B #3BD3AF
tetradic
#AF3BD3 #D3633B #5FD33B #3BABD3
square
#AF3BD3 #D3633B #5FD33B #3BABD3
split-complementary
#AF3BD3 #ABD33B #3BD363
monochromatic
#621B79 #8B26AB #AF3BD3 #C36DDE #D89FE9

Accessibility & contrast

On white

4.78
#AF3BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#AF3BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BD3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BD3#FFFFFF#000000##FFFFFF
##AF3BD31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#3D76D0
Tritanopia (blue-blind)
#AD5A84
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af3bd3;
/* rgb */ color: rgb(175, 59, 211);
/* oklch */ color: oklch(58.3% 0.231 316.9);
Tailwind
colors: {
  custom: {
    50: '#cb7ce1',
    500: '#af3bd3',
    950: '#000000',
  },
}
SCSS
$custom: #af3bd3;
$custom-light: #cb7ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bd3",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 285.789,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.23123,
    "h": 316.9
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#AF3BD3
secondary
#A4D694
accent
#E64168
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF3BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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