#F166EC#F166EC

#F166EC is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.9% C 0.228 H 329.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#F166EC
RGBrgb(241, 102, 236)
HSLhsl(302, 83%, 67%)
HSVhsv(302, 58%, 95%)
CMYKcmyk(0%, 57.7%, 2.1%, 5.5%)
CIE-LABlab(65.17, 69.71, -42.75)
CIE-LCHlch(65.17, 81.77, 328.48°)
OKLaboklab(72.91% 0.1959 -0.1175)
OKLCHoklch(72.91% 0.228 329)
XYZxyz(56.1667, 34.2633, 82.9958)
Luminance0.3426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F166EC #66F16B
analogous
#B066F1 #F166EC #F166A7
triadic
#F166EC #ECF166 #66ECF1
tetradic
#F166EC #F1B066 #66F16B #66A7F1
square
#F166EC #F1B066 #66F16B #66A7F1
split-complementary
#F166EC #A7F166 #66F1B0
monochromatic
#CA12C4 #EC2EE5 #F166EC #F69EF3 #FBD6FA

Accessibility & contrast

On white

2.67
#F166EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#F166EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F166EC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F166EC#FFFFFF#000000##000000
##F166EC1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#F975A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f166ec;
/* rgb */ color: rgb(241, 102, 236);
/* oklch */ color: oklch(72.9% 0.228 329.0);
Tailwind
colors: {
  custom: {
    50: '#f999f2',
    500: '#f166ec',
    950: '#000000',
  },
}
SCSS
$custom: #f166ec;
$custom-light: #f999f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f166ec",
  "rgb": {
    "r": 241,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 302.158,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72908,
    "c": 0.22843,
    "h": 329
  },
  "luminance": 0.3426
}

Semantic roles & 50–950 ramp

primary
#F166EC
secondary
#C3EFC5
accent
#E00E06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F166EC

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

Preview Lab → · Contrast checker → · Palette generator →

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