#F166F2#F166F2

#F166F2 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 73.2% C 0.233 H 327.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#F166F2
RGBrgb(241, 102, 242)
HSLhsl(300, 84%, 67%)
HSVhsv(300, 58%, 95%)
CMYKcmyk(0.4%, 57.9%, 0%, 5.1%)
CIE-LABlab(65.45, 70.70, -45.63)
CIE-LCHlch(65.45, 84.14, 327.16°)
OKLaboklab(73.2% 0.1964 -0.1258)
OKLCHoklch(73.2% 0.233 327.4)
XYZxyz(57.0531, 34.6179, 87.6640)
Luminance0.3461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F166F2 #67F266
analogous
#AB66F2 #F166F2 #F266AD
triadic
#F166F2 #F2F166 #66F2F1
tetradic
#F166F2 #F2AB66 #67F266 #66ADF2
square
#F166F2 #F2AB66 #67F266 #66ADF2
split-complementary
#F166F2 #ADF266 #66F2AB
monochromatic
#CB11CC #EC2EED #F166F2 #F69EF7 #FBD7FC

Accessibility & contrast

On white

2.65
#F166F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#F166F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F166F2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F166F2#FFFFFF#000000##000000
##F166F21.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5593F6
Deuteranopia (green-blind)
#85A5EE
Tritanopia (blue-blind)
#F877A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f166f2;
/* rgb */ color: rgb(241, 102, 242);
/* oklch */ color: oklch(73.2% 0.233 327.4);
Tailwind
colors: {
  custom: {
    50: '#f999f7',
    500: '#f166f2',
    950: '#000000',
  },
}
SCSS
$custom: #f166f2;
$custom-light: #f999f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f166f2",
  "rgb": {
    "r": 241,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 299.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.73203,
    "c": 0.2333,
    "h": 327.4
  },
  "luminance": 0.34614
}

Semantic roles & 50–950 ramp

primary
#F166F2
secondary
#C4F0C4
accent
#E10506
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F166F2

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

Preview Lab → · Contrast checker → · Palette generator →

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