#AF5BB3#AF5BB3

#AF5BB3 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.3% C 0.157 H 325.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AF5BB3
RGBrgb(175, 91, 179)
HSLhsl(297, 37%, 53%)
HSVhsv(297, 49%, 70%)
CMYKcmyk(2.2%, 49.2%, 0%, 29.8%)
CIE-LABlab(51.67, 47.07, -32.21)
CIE-LCHlch(51.67, 57.03, 325.62°)
OKLaboklab(60.28% 0.1293 -0.0885)
OKLCHoklch(60.28% 0.157 325.6)
XYZxyz(29.5563, 19.8523, 44.9141)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5BB3 #5FB35B
analogous
#835BB3 #AF5BB3 #B35B8B
triadic
#AF5BB3 #B3AF5B #5BB3AF
tetradic
#AF5BB3 #B3835B #5FB35B #5B8BB3
square
#AF5BB3 #B3835B #5FB35B #5B8BB3
split-complementary
#AF5BB3 #8BB35B #5BB383
monochromatic
#622F65 #8B428F #AF5BB3 #C385C6 #D8AFDA

Accessibility & contrast

On white

4.23
#AF5BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AF5BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5BB3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5BB3#FFFFFF#000000##000000
##AF5BB31.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B6
Deuteranopia (green-blind)
#6A7FB0
Tritanopia (blue-blind)
#B3657F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af5bb3;
/* rgb */ color: rgb(175, 91, 179);
/* oklch */ color: oklch(60.3% 0.157 325.6);
Tailwind
colors: {
  custom: {
    50: '#c98cca',
    500: '#af5bb3',
    950: '#000000',
  },
}
SCSS
$custom: #af5bb3;
$custom-light: #c98cca;
$custom-dark: #000000;
JSON
{
  "hex": "#af5bb3",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 297.273,
    "s": 36.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60283,
    "c": 0.15673,
    "h": 325.6
  },
  "luminance": 0.19851
}

Semantic roles & 50–950 ramp

primary
#AF5BB3
secondary
#A4C8A2
accent
#CD5B60
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AF5BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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