#F266EC#F266EC

#F266EC is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 73.0% C 0.229 H 329.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#F266EC
RGBrgb(242, 102, 236)
HSLhsl(303, 84%, 67%)
HSVhsv(303, 58%, 95%)
CMYKcmyk(0%, 57.9%, 2.5%, 5.1%)
CIE-LABlab(65.31, 69.96, -42.52)
CIE-LCHlch(65.31, 81.86, 328.71°)
OKLaboklab(73.04% 0.1969 -0.1169)
OKLCHoklch(73.04% 0.229 329.3)
XYZxyz(56.5091, 34.4399, 83.0118)
Luminance0.3444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266EC #66F26C
analogous
#B266F2 #F266EC #F266A6
triadic
#F266EC #ECF266 #66ECF2
tetradic
#F266EC #F2B266 #66F26C #66A6F2
square
#F266EC #F2B266 #66F26C #66A6F2
split-complementary
#F266EC #A6F266 #66F2B2
monochromatic
#CC11C4 #ED2EE5 #F266EC #F79EF3 #FCD7FA

Accessibility & contrast

On white

2.66
#F266EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#F266EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266EC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266EC#FFFFFF#000000##000000
##F266EC1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#FA75A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f266ec;
/* rgb */ color: rgb(242, 102, 236);
/* oklch */ color: oklch(73.0% 0.229 329.3);
Tailwind
colors: {
  custom: {
    50: '#f999f2',
    500: '#f266ec',
    950: '#000000',
  },
}
SCSS
$custom: #f266ec;
$custom-light: #f999f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f266ec",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 302.571,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.73038,
    "c": 0.22899,
    "h": 329.3
  },
  "luminance": 0.34436
}

Semantic roles & 50–950 ramp

primary
#F266EC
secondary
#C4F0C6
accent
#E10E05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F266EC

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

Preview Lab → · Contrast checker → · Palette generator →

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