#AF1CB0#AF1CB0

#AF1CB0 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.9% C 0.232 H 327.9°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF1CB0
RGBrgb(175, 28, 176)
HSLhsl(300, 73%, 40%)
HSVhsv(300, 84%, 69%)
CMYKcmyk(0.6%, 84.1%, 0%, 31%)
CIE-LABlab(42.88, 70.47, -44.32)
CIE-LCHlch(42.88, 83.25, 327.83°)
OKLaboklab(53.87% 0.1963 -0.1231)
OKLCHoklch(53.87% 0.232 327.9)
XYZxyz(25.9306, 13.0810, 42.2250)
Luminance0.1308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1CB0 #1DB01C
analogous
#651CB0 #AF1CB0 #B01C67
triadic
#AF1CB0 #B0AF1C #1CB0AF
tetradic
#AF1CB0 #B0651C #1DB01C #1C67B0
square
#AF1CB0 #B0651C #1DB01C #1C67B0
split-complementary
#AF1CB0 #67B01C #1CB065
monochromatic
#460B46 #7B147B #AF1CB0 #DC2CDD #E561E6

Accessibility & contrast

On white

5.81
#AF1CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF1CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF1CB0
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF1CB0#FFFFFF#000000##FFFFFF
##AF1CB01.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#4A6BAD
Tritanopia (blue-blind)
#B53969
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af1cb0;
/* rgb */ color: rgb(175, 28, 176);
/* oklch */ color: oklch(53.9% 0.232 327.9);
Tailwind
colors: {
  custom: {
    50: '#cb6ec8',
    500: '#af1cb0',
    950: '#000000',
  },
}
SCSS
$custom: #af1cb0;
$custom-light: #cb6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#af1cb0",
  "rgb": {
    "r": 175,
    "g": 28,
    "b": 176
  },
  "hsl": {
    "h": 299.595,
    "s": 72.549,
    "l": 40
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.23176,
    "h": 327.9
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#AF1CB0
secondary
#5ECA5E
accent
#EF393A
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #AF1CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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