#AF3BB8#AF3BB8

#AF3BB8 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.7% C 0.208 H 324.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF3BB8
RGBrgb(175, 59, 184)
HSLhsl(296, 51%, 48%)
HSVhsv(296, 68%, 72%)
CMYKcmyk(4.9%, 67.9%, 0%, 27.8%)
CIE-LABlab(46.58, 62.51, -43.14)
CIE-LCHlch(46.58, 75.95, 325.39°)
OKLaboklab(56.65% 0.1701 -0.1199)
OKLCHoklch(56.65% 0.208 324.8)
XYZxyz(27.8942, 15.7043, 46.9001)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3BB8 #44B83B
analogous
#703BB8 #AF3BB8 #B83B82
triadic
#AF3BB8 #B8AF3B #3BB8AF
tetradic
#AF3BB8 #B8703B #44B83B #3B82B8
square
#AF3BB8 #B8703B #44B83B #3B82B8
split-complementary
#AF3BB8 #82B83B #3BB870
monochromatic
#571D5B #832C8A #AF3BB8 #C563CD #D792DC

Accessibility & contrast

On white

5.07
#AF3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF3BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3BB8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3BB8#FFFFFF#000000##FFFFFF
##AF3BB81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E65BC
Deuteranopia (green-blind)
#5373B5
Tritanopia (blue-blind)
#B34F75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3bb8;
/* rgb */ color: rgb(175, 59, 184);
/* oklch */ color: oklch(56.7% 0.208 324.8);
Tailwind
colors: {
  custom: {
    50: '#ca7bce',
    500: '#af3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #af3bb8;
$custom-light: #ca7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#af3bb8",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 295.68,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56653,
    "c": 0.20812,
    "h": 324.8
  },
  "luminance": 0.15703
}

Semantic roles & 50–950 ramp

primary
#AF3BB8
secondary
#8CC788
accent
#DB4D57
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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