#F266EA#F266EA

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

Color values

HEX#F266EA
RGBrgb(242, 102, 234)
HSLhsl(303, 84%, 67%)
HSVhsv(303, 58%, 95%)
CMYKcmyk(0%, 57.9%, 3.3%, 5.1%)
CIE-LABlab(65.22, 69.63, -41.55)
CIE-LCHlch(65.22, 81.09, 329.17°)
OKLaboklab(72.94% 0.1967 -0.1141)
OKLCHoklch(72.94% 0.227 329.9)
XYZxyz(56.2202, 34.3243, 81.4901)
Luminance0.3432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266EA #66F26E
analogous
#B466F2 #F266EA #F266A4
triadic
#F266EA #EAF266 #66EAF2
tetradic
#F266EA #F2B466 #66F26E #66A4F2
square
#F266EA #F2B466 #66F26E #66A4F2
split-complementary
#F266EA #A4F266 #66F2B4
monochromatic
#CC11C2 #ED2EE2 #F266EA #F79EF2 #FCD7F9

Accessibility & contrast

On white

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

On black

7.86
#F266EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266EA
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266EA#FFFFFF#000000##000000
##F266EA1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#8AA5E6
Tritanopia (blue-blind)
#FA749F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f266ea;
/* rgb */ color: rgb(242, 102, 234);
/* oklch */ color: oklch(72.9% 0.227 329.9);
Tailwind
colors: {
  custom: {
    50: '#f999f1',
    500: '#f266ea',
    950: '#000000',
  },
}
SCSS
$custom: #f266ea;
$custom-light: #f999f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f266ea",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 303.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72942,
    "c": 0.2274,
    "h": 329.9
  },
  "luminance": 0.34321
}

Semantic roles & 50–950 ramp

primary
#F266EA
secondary
#C4F0C7
accent
#E11105
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F266EA

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

Preview Lab → · Contrast checker → · Palette generator →

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