#F266F4#F266F4

#F266F4 is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 73.4% C 0.235 H 327.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#F266F4
RGBrgb(242, 102, 244)
HSLhsl(299, 87%, 68%)
HSVhsv(299, 58%, 96%)
CMYKcmyk(0.8%, 58.2%, 0%, 4.3%)
CIE-LABlab(65.68, 71.28, -46.36)
CIE-LCHlch(65.68, 85.03, 326.96°)
OKLaboklab(73.43% 0.1977 -0.1279)
OKLCHoklch(73.43% 0.235 327.1)
XYZxyz(57.6975, 34.9152, 89.2707)
Luminance0.3491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266F4 #68F466
analogous
#AB66F4 #F266F4 #F466AF
triadic
#F266F4 #F4F266 #66F4F2
tetradic
#F266F4 #F4AB66 #68F466 #66AFF4
square
#F266F4 #F4AB66 #68F466 #66AFF4
split-complementary
#F266F4 #AFF466 #66F4AB
monochromatic
#CE0FD1 #ED2DF0 #F266F4 #F79FF8 #FCD8FC

Accessibility & contrast

On white

2.63
#F266F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#F266F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266F4
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266F4#FFFFFF#000000##000000
##F266F41.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F8
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#F878A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f266f4;
/* rgb */ color: rgb(242, 102, 244);
/* oklch */ color: oklch(73.4% 0.235 327.1);
Tailwind
colors: {
  custom: {
    50: '#fa99f8',
    500: '#f266f4',
    950: '#000000',
  },
}
SCSS
$custom: #f266f4;
$custom-light: #fa99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#f266f4",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 299.155,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73431,
    "c": 0.23546,
    "h": 327.1
  },
  "luminance": 0.34912
}

Semantic roles & 50–950 ramp

primary
#F266F4
secondary
#C6F1C5
accent
#E30206
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F266F4

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

Preview Lab → · Contrast checker → · Palette generator →

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