#AF3CB1#AF3CB1

#AF3CB1 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.4% C 0.201 H 327.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AF3CB1
RGBrgb(175, 60, 177)
HSLhsl(299, 49%, 46%)
HSVhsv(299, 66%, 69%)
CMYKcmyk(1.1%, 66.1%, 0%, 30.6%)
CIE-LABlab(46.34, 60.91, -39.42)
CIE-LCHlch(46.34, 72.55, 327.09°)
OKLaboklab(56.35% 0.1689 -0.1091)
OKLCHoklch(56.35% 0.201 327.1)
XYZxyz(27.2304, 15.5218, 43.1482)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CB1 #3EB13C
analogous
#753CB1 #AF3CB1 #B13C79
triadic
#AF3CB1 #B1AF3C #3CB1AF
tetradic
#AF3CB1 #B1753C #3EB13C #3C79B1
square
#AF3CB1 #B1753C #3EB13C #3C79B1
split-complementary
#AF3CB1 #79B13C #3CB175
monochromatic
#551D56 #822D83 #AF3CB1 #C861C9 #D88FD9

Accessibility & contrast

On white

5.12
#AF3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF3CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CB1
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CB1#FFFFFF#000000##FFFFFF
##AF3CB11.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B4
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#B44D72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af3cb1;
/* rgb */ color: rgb(175, 60, 177);
/* oklch */ color: oklch(56.4% 0.201 327.1);
Tailwind
colors: {
  custom: {
    50: '#ca7bc9',
    500: '#af3cb1',
    950: '#000000',
  },
}
SCSS
$custom: #af3cb1;
$custom-light: #ca7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cb1",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 298.974,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56354,
    "c": 0.20106,
    "h": 327.1
  },
  "luminance": 0.1552
}

Semantic roles & 50–950 ramp

primary
#AF3CB1
secondary
#86C485
accent
#D94F51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#140A13
muted
#827C82

Preview Lab

Preview with #AF3CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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