#F172DE#F172DE

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

Color values

HEX#F172DE
RGBrgb(241, 114, 222)
HSLhsl(309, 82%, 70%)
HSVhsv(309, 53%, 95%)
CMYKcmyk(0%, 52.7%, 7.9%, 5.5%)
CIE-LABlab(66.53, 62.13, -32.85)
CIE-LCHlch(66.53, 70.28, 332.13°)
OKLaboklab(73.71% 0.1786 -0.0893)
OKLCHoklch(73.71% 0.2 333.4)
XYZxyz(55.4778, 36.0131, 73.1223)
Luminance0.3601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172DE #72F185
analogous
#C472F1 #F172DE #F1729F
triadic
#F172DE #DEF172 #72DEF1
tetradic
#F172DE #F1C472 #72F185 #729FF1
square
#F172DE #F1C472 #72F185 #729FF1
split-complementary
#F172DE #9FF172 #72F1C4
monochromatic
#D415B7 #EB3AD1 #F172DE #F7AAEB #FCE1F8

Accessibility & contrast

On white

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

On black

8.20
#F172DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172DE
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172DE#FFFFFF#000000##000000
##F172DE1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E2
Deuteranopia (green-blind)
#95A9DA
Tritanopia (blue-blind)
#FB7A9E
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f172de;
/* rgb */ color: rgb(241, 114, 222);
/* oklch */ color: oklch(73.7% 0.200 333.4);
Tailwind
colors: {
  custom: {
    50: '#f8a0e8',
    500: '#f172de',
    950: '#000000',
  },
}
SCSS
$custom: #f172de;
$custom-light: #f8a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f172de",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 222
  },
  "hsl": {
    "h": 308.976,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73708,
    "c": 0.19973,
    "h": 333.4
  },
  "luminance": 0.36009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F172DE

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

Preview Lab → · Contrast checker → · Palette generator →

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