#AF3DBB#AF3DBB

#AF3DBB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.208 H 323.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#AF3DBB
RGBrgb(175, 61, 187)
HSLhsl(294, 51%, 49%)
HSVhsv(294, 67%, 73%)
CMYKcmyk(6.4%, 67.4%, 0%, 26.7%)
CIE-LABlab(47.03, 62.27, -44.19)
CIE-LCHlch(47.03, 76.35, 324.64°)
OKLaboklab(57.03% 0.168 -0.123)
OKLCHoklch(57.03% 0.208 323.8)
XYZxyz(28.3168, 16.0410, 48.6088)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3DBB #49BB3D
analogous
#703DBB #AF3DBB #BB3D88
triadic
#AF3DBB #BBAF3D #3DBBAF
tetradic
#AF3DBB #BB703D #49BB3D #3D88BB
square
#AF3DBB #BB703D #49BB3D #3D88BB
split-complementary
#AF3DBB #88BB3D #3DBB70
monochromatic
#591F5F #842E8D #AF3DBB #C468CE #D696DD

Accessibility & contrast

On white

4.99
#AF3DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AF3DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3DBB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3DBB#FFFFFF#000000##FFFFFF
##AF3DBB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#B25177
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af3dbb;
/* rgb */ color: rgb(175, 61, 187);
/* oklch */ color: oklch(57.0% 0.208 323.8);
Tailwind
colors: {
  custom: {
    50: '#ca7cd0',
    500: '#af3dbb',
    950: '#000000',
  },
}
SCSS
$custom: #af3dbb;
$custom-light: #ca7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3dbb",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 187
  },
  "hsl": {
    "h": 294.286,
    "s": 50.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57026,
    "c": 0.20816,
    "h": 323.8
  },
  "luminance": 0.16039
}

Semantic roles & 50–950 ramp

primary
#AF3DBB
secondary
#91C88C
accent
#DA4E5B
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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