#AF2CB0#AF2CB0

#AF2CB0 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.218 H 327.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF2CB0
RGBrgb(175, 44, 176)
HSLhsl(300, 60%, 43%)
HSVhsv(300, 75%, 69%)
CMYKcmyk(0.6%, 75%, 0%, 31%)
CIE-LABlab(44.31, 66.35, -42.06)
CIE-LCHlch(44.31, 78.56, 327.63°)
OKLaboklab(54.88% 0.1847 -0.1166)
OKLCHoklch(54.88% 0.218 327.7)
XYZxyz(26.4160, 14.0518, 42.3868)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2CB0 #2DB02C
analogous
#6D2CB0 #AF2CB0 #B02C6F
triadic
#AF2CB0 #B0AF2C #2CB0AF
tetradic
#AF2CB0 #B06D2C #2DB02C #2C6FB0
square
#AF2CB0 #B06D2C #2DB02C #2C6FB0
split-complementary
#AF2CB0 #6FB02C #2CB06D
monochromatic
#4E144E #7E207F #AF2CB0 #D048D1 #DD79DD

Accessibility & contrast

On white

5.51
#AF2CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF2CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2CB0
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2CB0#FFFFFF#000000##FFFFFF
##AF2CB01.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095EB4
Deuteranopia (green-blind)
#506FAD
Tritanopia (blue-blind)
#B4426C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af2cb0;
/* rgb */ color: rgb(175, 44, 176);
/* oklch */ color: oklch(54.9% 0.218 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb74c8',
    500: '#af2cb0',
    950: '#000000',
  },
}
SCSS
$custom: #af2cb0;
$custom-light: #cb74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2cb0",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 299.545,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.21844,
    "h": 327.7
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#AF2CB0
secondary
#73C672
accent
#E34546
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#140913
muted
#827B82

Preview Lab

Preview with #AF2CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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