#AF1CB3#AF1CB3

#AF1CB3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.1% C 0.234 H 327.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF1CB3
RGBrgb(175, 28, 179)
HSLhsl(298, 73%, 41%)
HSVhsv(298, 84%, 70%)
CMYKcmyk(2.2%, 84.4%, 0%, 29.8%)
CIE-LABlab(43.06, 70.94, -45.81)
CIE-LCHlch(43.06, 84.45, 327.15°)
OKLaboklab(54.05% 0.1961 -0.1275)
OKLCHoklch(54.05% 0.234 327)
XYZxyz(26.2307, 13.2011, 43.8056)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF1CB3 #20B31C
analogous
#641CB3 #AF1CB3 #B31C6B
triadic
#AF1CB3 #B3AF1C #1CB3AF
tetradic
#AF1CB3 #B3641C #20B31C #1C6BB3
square
#AF1CB3 #B3641C #20B31C #1C6BB3
split-complementary
#AF1CB3 #6BB31C #1CB364
monochromatic
#480B49 #7B147E #AF1CB3 #DA2EDE #E363E7

Accessibility & contrast

On white

5.77
#AF1CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF1CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF1CB3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF1CB3#FFFFFF#000000##FFFFFF
##AF1CB31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#B43B6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af1cb3;
/* rgb */ color: rgb(175, 28, 179);
/* oklch */ color: oklch(54.1% 0.234 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb6fca',
    500: '#af1cb3',
    950: '#000000',
  },
}
SCSS
$custom: #af1cb3;
$custom-light: #cb6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#af1cb3",
  "rgb": {
    "r": 175,
    "g": 28,
    "b": 179
  },
  "hsl": {
    "h": 298.411,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.2339,
    "h": 327
  },
  "luminance": 0.13199
}

Semantic roles & 50–950 ramp

primary
#AF1CB3
secondary
#62CB5F
accent
#F0383D
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #AF1CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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