#F266E4#F266E4

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

Color values

HEX#F266E4
RGBrgb(242, 102, 228)
HSLhsl(306, 84%, 67%)
HSVhsv(306, 58%, 95%)
CMYKcmyk(0%, 57.9%, 5.8%, 5.1%)
CIE-LABlab(64.95, 68.67, -38.64)
CIE-LCHlch(64.95, 78.79, 330.64°)
OKLaboklab(72.66% 0.196 -0.1057)
OKLCHoklch(72.66% 0.223 331.7)
XYZxyz(55.3728, 33.9853, 77.0271)
Luminance0.3398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266E4 #66F274
analogous
#BA66F2 #F266E4 #F2669E
triadic
#F266E4 #E4F266 #66E4F2
tetradic
#F266E4 #F2BA66 #66F274 #669EF2
square
#F266E4 #F2BA66 #66F274 #669EF2
split-complementary
#F266E4 #9EF266 #66F2BA
monochromatic
#CC11BA #ED2EDA #F266E4 #F79EEE #FCD7F8

Accessibility & contrast

On white

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

On black

7.80
#F266E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266E4
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266E4#FFFFFF#000000##000000
##F266E41.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6091E8
Deuteranopia (green-blind)
#8CA5E0
Tritanopia (blue-blind)
#FB729C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f266e4;
/* rgb */ color: rgb(242, 102, 228);
/* oklch */ color: oklch(72.7% 0.223 331.7);
Tailwind
colors: {
  custom: {
    50: '#f999ed',
    500: '#f266e4',
    950: '#000000',
  },
}
SCSS
$custom: #f266e4;
$custom-light: #f999ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f266e4",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 306,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72658,
    "c": 0.22269,
    "h": 331.7
  },
  "luminance": 0.33981
}

Semantic roles & 50–950 ramp

primary
#F266E4
secondary
#C4F0C8
accent
#E11B05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F266E4

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

Preview Lab → · Contrast checker → · Palette generator →

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