#F174E2#F174E2

#F174E2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 74.1% C 0.200 H 332.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#F174E2
RGBrgb(241, 116, 226)
HSLhsl(307, 82%, 70%)
HSVhsv(307, 52%, 95%)
CMYKcmyk(0%, 51.9%, 6.2%, 5.5%)
CIE-LABlab(67.04, 61.85, -34.28)
CIE-LCHlch(67.04, 70.71, 331.00°)
OKLaboklab(74.14% 0.1767 -0.0934)
OKLCHoklch(74.14% 0.2 332.1)
XYZxyz(56.2483, 36.6862, 76.0553)
Luminance0.3668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F174E2 #74F183
analogous
#C174F1 #F174E2 #F174A4
triadic
#F174E2 #E2F174 #74E2F1
tetradic
#F174E2 #F1C174 #74F183 #74A4F1
square
#F174E2 #F1C174 #74F183 #74A4F1
split-complementary
#F174E2 #A4F174 #74F1C1
monochromatic
#D515BE #EB3CD6 #F174E2 #F7ACEE #FCE3F9

Accessibility & contrast

On white

2.52
#F174E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#F174E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F174E2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F174E2#FFFFFF#000000##000000
##F174E21.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#95AADE
Tritanopia (blue-blind)
#FA7DA1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f174e2;
/* rgb */ color: rgb(241, 116, 226);
/* oklch */ color: oklch(74.1% 0.200 332.1);
Tailwind
colors: {
  custom: {
    50: '#f8a1eb',
    500: '#f174e2',
    950: '#000000',
  },
}
SCSS
$custom: #f174e2;
$custom-light: #f8a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f174e2",
  "rgb": {
    "r": 241,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 307.2,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.74139,
    "c": 0.19985,
    "h": 332.1
  },
  "luminance": 0.36683
}

Semantic roles & 50–950 ramp

primary
#F174E2
secondary
#CFF2D3
accent
#DE2107
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F174E2

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

Preview Lab → · Contrast checker → · Palette generator →

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