#AF3BD6#AF3BD6

#AF3BD6 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.5% C 0.234 H 316.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#AF3BD6
RGBrgb(175, 59, 214)
HSLhsl(285, 65%, 54%)
HSVhsv(285, 72%, 84%)
CMYKcmyk(18.2%, 72.4%, 0%, 16.1%)
CIE-LABlab(48.38, 68.06, -57.61)
CIE-LCHlch(48.38, 89.17, 319.75°)
OKLaboklab(58.51% 0.1684 -0.1622)
OKLCHoklch(58.51% 0.234 316.1)
XYZxyz(31.3789, 17.0982, 65.2527)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BD6 #62D63B
analogous
#613BD6 #AF3BD6 #D63BAF
triadic
#AF3BD6 #D6AF3B #3BD6AF
tetradic
#AF3BD6 #D6613B #62D63B #3BAFD6
square
#AF3BD6 #D6613B #62D63B #3BAFD6
split-complementary
#AF3BD6 #AFD63B #3BD661
monochromatic
#641A7D #8C25AF #AF3BD6 #C46EE1 #D8A0EB

Accessibility & contrast

On white

4.75
#AF3BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#AF3BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BD6
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BD6#FFFFFF#000000##FFFFFF
##AF3BD61.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#3A76D3
Tritanopia (blue-blind)
#AC5C86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af3bd6;
/* rgb */ color: rgb(175, 59, 214);
/* oklch */ color: oklch(58.5% 0.234 316.1);
Tailwind
colors: {
  custom: {
    50: '#cb7ce3',
    500: '#af3bd6',
    950: '#000000',
  },
}
SCSS
$custom: #af3bd6;
$custom-light: #cb7ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bd6",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 214
  },
  "hsl": {
    "h": 284.903,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58515,
    "c": 0.23385,
    "h": 316.1
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#AF3BD6
secondary
#A6D895
accent
#E83F6A
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#140A16
muted
#837C84

Preview Lab

Preview with #AF3BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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