#F166E7#F166E7

#F166E7 is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.7% C 0.224 H 330.5°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#F166E7
RGBrgb(241, 102, 231)
HSLhsl(304, 83%, 67%)
HSVhsv(304, 58%, 95%)
CMYKcmyk(0%, 57.7%, 4.1%, 5.5%)
CIE-LABlab(64.94, 68.89, -40.33)
CIE-LCHlch(64.94, 79.83, 329.66°)
OKLaboklab(72.67% 0.1953 -0.1106)
OKLCHoklch(72.67% 0.224 330.5)
XYZxyz(55.4505, 33.9768, 79.2234)
Luminance0.3397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F166E7 #66F170
analogous
#B666F1 #F166E7 #F166A1
triadic
#F166E7 #E7F166 #66E7F1
tetradic
#F166E7 #F1B666 #66F170 #66A1F1
square
#F166E7 #F1B666 #66F170 #66A1F1
split-complementary
#F166E7 #A1F166 #66F1B6
monochromatic
#CA12BD #EC2EDE #F166E7 #F69EF0 #FBD6F9

Accessibility & contrast

On white

2.69
#F166E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#F166E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F166E7
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F166E7#FFFFFF#000000##000000
##F166E71.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EB
Deuteranopia (green-blind)
#8AA4E3
Tritanopia (blue-blind)
#F9739D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f166e7;
/* rgb */ color: rgb(241, 102, 231);
/* oklch */ color: oklch(72.7% 0.224 330.5);
Tailwind
colors: {
  custom: {
    50: '#f999ef',
    500: '#f166e7',
    950: '#000000',
  },
}
SCSS
$custom: #f166e7;
$custom-light: #f999ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f166e7",
  "rgb": {
    "r": 241,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 304.317,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72668,
    "c": 0.22445,
    "h": 330.5
  },
  "luminance": 0.33973
}

Semantic roles & 50–950 ramp

primary
#F166E7
secondary
#C3EFC7
accent
#E01606
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F166E7

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

Preview Lab → · Contrast checker → · Palette generator →

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