#AF14B1#AF14B1

#AF14B1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.6% C 0.237 H 327.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF14B1
RGBrgb(175, 20, 177)
HSLhsl(299, 80%, 39%)
HSVhsv(299, 89%, 69%)
CMYKcmyk(1.1%, 88.7%, 0%, 30.6%)
CIE-LABlab(42.45, 72.09, -45.62)
CIE-LCHlch(42.45, 85.31, 327.68°)
OKLaboklab(53.58% 0.2004 -0.1269)
OKLCHoklch(53.58% 0.237 327.7)
XYZxyz(25.8648, 12.7906, 42.6930)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF14B1 #16B114
analogous
#6014B1 #AF14B1 #B11464
triadic
#AF14B1 #B1AF14 #14B1AF
tetradic
#AF14B1 #B16014 #16B114 #1464B1
square
#AF14B1 #B16014 #16B114 #1464B1
split-complementary
#AF14B1 #64B114 #14B160
monochromatic
#420843 #790E7A #AF14B1 #E31DE5 #EA54EC

Accessibility & contrast

On white

5.90
#AF14B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF14B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF14B1
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF14B1#FFFFFF#000000##FFFFFF
##AF14B11.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#476BAE
Tritanopia (blue-blind)
#B43769
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af14b1;
/* rgb */ color: rgb(175, 20, 177);
/* oklch */ color: oklch(53.6% 0.237 327.7);
Tailwind
colors: {
  custom: {
    50: '#cb6dc9',
    500: '#af14b1',
    950: '#000000',
  },
}
SCSS
$custom: #af14b1;
$custom-light: #cb6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#af14b1",
  "rgb": {
    "r": 175,
    "g": 20,
    "b": 177
  },
  "hsl": {
    "h": 299.236,
    "s": 79.695,
    "l": 38.627
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.23716,
    "h": 327.7
  },
  "luminance": 0.12789
}

Semantic roles & 50–950 ramp

primary
#AF14B1
secondary
#54CE53
accent
#F63234
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140813
muted
#837B82

Preview Lab

Preview with #AF14B1

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

Preview Lab → · Contrast checker → · Palette generator →

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