#F166E3#F166E3

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

Color values

HEX#F166E3
RGBrgb(241, 102, 227)
HSLhsl(306, 83%, 67%)
HSVhsv(306, 58%, 95%)
CMYKcmyk(0%, 57.7%, 5.8%, 5.5%)
CIE-LABlab(64.77, 68.25, -38.38)
CIE-LCHlch(64.77, 78.30, 330.65°)
OKLaboklab(72.48% 0.1948 -0.105)
OKLCHoklch(72.48% 0.221 331.7)
XYZxyz(54.8920, 33.7534, 76.2821)
Luminance0.3375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F166E3 #66F174
analogous
#B966F1 #F166E3 #F1669E
triadic
#F166E3 #E3F166 #66E3F1
tetradic
#F166E3 #F1B966 #66F174 #669EF1
square
#F166E3 #F1B966 #66F174 #669EF1
split-complementary
#F166E3 #9EF166 #66F1B9
monochromatic
#CA12B8 #EC2ED9 #F166E3 #F69EED #FBD6F8

Accessibility & contrast

On white

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

On black

7.75
#F166E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F166E3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F166E3#FFFFFF#000000##000000
##F166E31.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6091E7
Deuteranopia (green-blind)
#8CA4DF
Tritanopia (blue-blind)
#FA729B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f166e3;
/* rgb */ color: rgb(241, 102, 227);
/* oklch */ color: oklch(72.5% 0.221 331.7);
Tailwind
colors: {
  custom: {
    50: '#f999ec',
    500: '#f166e3',
    950: '#000000',
  },
}
SCSS
$custom: #f166e3;
$custom-light: #f999ec;
$custom-dark: #000000;
JSON
{
  "hex": "#f166e3",
  "rgb": {
    "r": 241,
    "g": 102,
    "b": 227
  },
  "hsl": {
    "h": 306.043,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.7248,
    "c": 0.22131,
    "h": 331.7
  },
  "luminance": 0.3375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F166E3

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

Preview Lab → · Contrast checker → · Palette generator →

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