#F172DD#F172DD

#F172DD is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.7% C 0.199 H 333.8°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#F172DD
RGBrgb(241, 114, 221)
HSLhsl(309, 82%, 70%)
HSVhsv(309, 53%, 95%)
CMYKcmyk(0%, 52.7%, 8.3%, 5.5%)
CIE-LABlab(66.49, 61.97, -32.36)
CIE-LCHlch(66.49, 69.91, 332.43°)
OKLaboklab(73.66% 0.1785 -0.0879)
OKLCHoklch(73.66% 0.199 333.8)
XYZxyz(55.3441, 35.9597, 72.4185)
Luminance0.3596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172DD #72F186
analogous
#C672F1 #F172DD #F1729E
triadic
#F172DD #DDF172 #72DDF1
tetradic
#F172DD #F1C672 #72F186 #729EF1
square
#F172DD #F1C672 #72F186 #729EF1
split-complementary
#F172DD #9EF172 #72F1C6
monochromatic
#D415B6 #EB3AD0 #F172DD #F7AAEA #FCE1F8

Accessibility & contrast

On white

2.56
#F172DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#F172DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172DD
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172DD#FFFFFF#000000##000000
##F172DD1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E0
Deuteranopia (green-blind)
#96A8D9
Tritanopia (blue-blind)
#FB7A9E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f172dd;
/* rgb */ color: rgb(241, 114, 221);
/* oklch */ color: oklch(73.7% 0.199 333.8);
Tailwind
colors: {
  custom: {
    50: '#f8a0e8',
    500: '#f172dd',
    950: '#000000',
  },
}
SCSS
$custom: #f172dd;
$custom-light: #f8a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f172dd",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 309.449,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73664,
    "c": 0.19895,
    "h": 333.8
  },
  "luminance": 0.35956
}

Semantic roles & 50–950 ramp

primary
#F172DD
secondary
#CDF2D3
accent
#DE2907
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F172DD

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

Preview Lab → · Contrast checker → · Palette generator →

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