#AF3CBB#AF3CBB

#AF3CBB is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.209 H 323.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AF3CBB
RGBrgb(175, 60, 187)
HSLhsl(294, 51%, 48%)
HSVhsv(294, 68%, 73%)
CMYKcmyk(6.4%, 67.9%, 0%, 26.7%)
CIE-LABlab(46.89, 62.66, -44.41)
CIE-LCHlch(46.89, 76.80, 324.67°)
OKLaboklab(56.93% 0.169 -0.1236)
OKLCHoklch(56.93% 0.209 323.8)
XYZxyz(28.2639, 15.9352, 48.5912)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3CBB #48BB3C
analogous
#6F3CBB #AF3CBB #BB3C87
triadic
#AF3CBB #BBAF3C #3CBBAF
tetradic
#AF3CBB #BB6F3C #48BB3C #3C87BB
square
#AF3CBB #BB6F3C #48BB3C #3C87BB
split-complementary
#AF3CBB #87BB3C #3CBB6F
monochromatic
#581E5E #842D8D #AF3CBB #C466CE #D695DD

Accessibility & contrast

On white

5.02
#AF3CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AF3CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3CBB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3CBB#FFFFFF#000000##FFFFFF
##AF3CBB1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3cbb;
/* rgb */ color: rgb(175, 60, 187);
/* oklch */ color: oklch(56.9% 0.209 323.8);
Tailwind
colors: {
  custom: {
    50: '#ca7bd0',
    500: '#af3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #af3cbb;
$custom-light: #ca7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3cbb",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 294.331,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.20941,
    "h": 323.8
  },
  "luminance": 0.15934
}

Semantic roles & 50–950 ramp

primary
#AF3CBB
secondary
#90C88B
accent
#DB4D5A
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#140A14
muted
#827C82

Preview Lab

Preview with #AF3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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