#F172E6#F172E6

#F172E6 is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.1% C 0.206 H 330.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#F172E6
RGBrgb(241, 114, 230)
HSLhsl(305, 82%, 70%)
HSVhsv(305, 53%, 95%)
CMYKcmyk(0%, 52.7%, 4.6%, 5.5%)
CIE-LABlab(66.86, 63.43, -36.77)
CIE-LCHlch(66.86, 73.31, 329.90°)
OKLaboklab(74.06% 0.18 -0.1005)
OKLCHoklch(74.06% 0.206 330.8)
XYZxyz(56.5755, 36.4522, 78.9037)
Luminance0.3645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F172E6 #72F17D
analogous
#BD72F1 #F172E6 #F172A7
triadic
#F172E6 #E6F172 #72E6F1
tetradic
#F172E6 #F1BD72 #72F17D #72A7F1
square
#F172E6 #F1BD72 #72F17D #72A7F1
split-complementary
#F172E6 #A7F172 #72F1BD
monochromatic
#D415C3 #EB3ADC #F172E6 #F7AAF0 #FCE1FA

Accessibility & contrast

On white

2.53
#F172E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#F172E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F172E6
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F172E6#FFFFFF#000000##000000
##F172E61.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97EA
Deuteranopia (green-blind)
#92A9E2
Tritanopia (blue-blind)
#F97DA2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f172e6;
/* rgb */ color: rgb(241, 114, 230);
/* oklch */ color: oklch(74.1% 0.206 330.8);
Tailwind
colors: {
  custom: {
    50: '#f8a0ee',
    500: '#f172e6',
    950: '#000000',
  },
}
SCSS
$custom: #f172e6;
$custom-light: #f8a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f172e6",
  "rgb": {
    "r": 241,
    "g": 114,
    "b": 230
  },
  "hsl": {
    "h": 305.197,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74064,
    "c": 0.20613,
    "h": 330.8
  },
  "luminance": 0.36449
}

Semantic roles & 50–950 ramp

primary
#F172E6
secondary
#CDF2D0
accent
#DE1A07
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F172E6

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

Preview Lab → · Contrast checker → · Palette generator →

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