#F166E4#F166E4

#F166E4 is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.5% C 0.222 H 331.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#F166E4
RGBrgb(241, 102, 228)
HSLhsl(306, 83%, 67%)
HSVhsv(306, 58%, 95%)
CMYKcmyk(0%, 57.7%, 5.4%, 5.5%)
CIE-LABlab(64.81, 68.41, -38.87)
CIE-LCHlch(64.81, 78.68, 330.40°)
OKLaboklab(72.53% 0.195 -0.1064)
OKLCHoklch(72.53% 0.222 331.4)
XYZxyz(55.0304, 33.8088, 77.0110)
Luminance0.3381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F166E4 #66F173
analogous
#B966F1 #F166E4 #F1669E
triadic
#F166E4 #E4F166 #66E4F1
tetradic
#F166E4 #F1B966 #66F173 #669EF1
square
#F166E4 #F1B966 #66F173 #669EF1
split-complementary
#F166E4 #9EF166 #66F1B9
monochromatic
#CA12B9 #EC2EDA #F166E4 #F69EEE #FBD6F8

Accessibility & contrast

On white

2.71
#F166E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#F166E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F166E4
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F166E4#FFFFFF#000000##000000
##F166E41.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F91E8
Deuteranopia (green-blind)
#8CA4E0
Tritanopia (blue-blind)
#FA729C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f166e4;
/* rgb */ color: rgb(241, 102, 228);
/* oklch */ color: oklch(72.5% 0.222 331.4);
Tailwind
colors: {
  custom: {
    50: '#f999ed',
    500: '#f166e4',
    950: '#000000',
  },
}
SCSS
$custom: #f166e4;
$custom-light: #f999ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f166e4",
  "rgb": {
    "r": 241,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 305.612,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72527,
    "c": 0.2221,
    "h": 331.4
  },
  "luminance": 0.33805
}

Semantic roles & 50–950 ramp

primary
#F166E4
secondary
#C3EFC8
accent
#E01A06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F166E4

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

Preview Lab → · Contrast checker → · Palette generator →

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