#F166E8#F166E8

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

Color values

HEX#F166E8
RGBrgb(241, 102, 232)
HSLhsl(304, 83%, 67%)
HSVhsv(304, 58%, 95%)
CMYKcmyk(0%, 57.7%, 3.7%, 5.5%)
CIE-LABlab(64.99, 69.06, -40.81)
CIE-LCHlch(64.99, 80.21, 329.42°)
OKLaboklab(72.72% 0.1954 -0.112)
OKLCHoklch(72.72% 0.225 330.2)
XYZxyz(55.5921, 34.0335, 79.9693)
Luminance0.3403 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F166E8 #66F16F
analogous
#B566F1 #F166E8 #F166A2
triadic
#F166E8 #E8F166 #66E8F1
tetradic
#F166E8 #F1B566 #66F16F #66A2F1
square
#F166E8 #F1B566 #66F16F #66A2F1
split-complementary
#F166E8 #A2F166 #66F1B5
monochromatic
#CA12BE #EC2EE0 #F166E8 #F69EF0 #FBD6F9

Accessibility & contrast

On white

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

On black

7.81
#F166E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F166E8
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F166E8#FFFFFF#000000##000000
##F166E81.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D91EC
Deuteranopia (green-blind)
#8AA5E4
Tritanopia (blue-blind)
#F9749E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f166e8;
/* rgb */ color: rgb(241, 102, 232);
/* oklch */ color: oklch(72.7% 0.225 330.2);
Tailwind
colors: {
  custom: {
    50: '#f999ef',
    500: '#f166e8',
    950: '#000000',
  },
}
SCSS
$custom: #f166e8;
$custom-light: #f999ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f166e8",
  "rgb": {
    "r": 241,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 303.885,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72716,
    "c": 0.22524,
    "h": 330.2
  },
  "luminance": 0.3403
}

Semantic roles & 50–950 ramp

primary
#F166E8
secondary
#C3EFC6
accent
#E01406
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F166E8

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

Preview Lab → · Contrast checker → · Palette generator →

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