#AF3BD4#AF3BD4

#AF3BD4 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.232 H 316.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#AF3BD4
RGBrgb(175, 59, 212)
HSLhsl(285, 64%, 53%)
HSVhsv(285, 72%, 83%)
CMYKcmyk(17.5%, 72.2%, 0%, 16.9%)
CIE-LABlab(48.26, 67.67, -56.67)
CIE-LCHlch(48.26, 88.27, 320.05°)
OKLaboklab(58.38% 0.1686 -0.1595)
OKLCHoklch(58.38% 0.232 316.6)
XYZxyz(31.1250, 16.9966, 63.9157)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BD4 #60D43B
analogous
#623BD4 #AF3BD4 #D43BAD
triadic
#AF3BD4 #D4AF3B #3BD4AF
tetradic
#AF3BD4 #D4623B #60D43B #3BADD4
square
#AF3BD4 #D4623B #60D43B #3BADD4
split-complementary
#AF3BD4 #ADD43B #3BD462
monochromatic
#631B7A #8C26AC #AF3BD4 #C36DDF #D89FEA

Accessibility & contrast

On white

4.77
#AF3BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF3BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BD4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BD4#FFFFFF#000000##FFFFFF
##AF3BD41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#3C76D1
Tritanopia (blue-blind)
#AD5B84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3bd4;
/* rgb */ color: rgb(175, 59, 212);
/* oklch */ color: oklch(58.4% 0.232 316.6);
Tailwind
colors: {
  custom: {
    50: '#cb7ce2',
    500: '#af3bd4',
    950: '#000000',
  },
}
SCSS
$custom: #af3bd4;
$custom-light: #cb7ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bd4",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 285.49,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.2321,
    "h": 316.6
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#AF3BD4
secondary
#A4D694
accent
#E74169
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83

Preview Lab

Preview with #AF3BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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