#F266F7#F266F7

#F266F7 is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.6% C 0.238 H 326.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#F266F7
RGBrgb(242, 102, 247)
HSLhsl(298, 90%, 68%)
HSVhsv(298, 59%, 97%)
CMYKcmyk(2%, 58.7%, 0%, 3.1%)
CIE-LABlab(65.83, 71.78, -47.79)
CIE-LCHlch(65.83, 86.23, 326.35°)
OKLaboklab(73.58% 0.1979 -0.1321)
OKLCHoklch(73.58% 0.238 326.3)
XYZxyz(58.1567, 35.0989, 91.6892)
Luminance0.3509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266F7 #6BF766
analogous
#A966F7 #F266F7 #F766B3
triadic
#F266F7 #F7F266 #66F7F2
tetradic
#F266F7 #F7A966 #6BF766 #66B3F7
square
#F266F7 #F7A966 #6BF766 #66B3F7
split-complementary
#F266F7 #B3F766 #66F7A9
monochromatic
#D00BD7 #ED2CF4 #F266F7 #F7A0FA #FCDAFD

Accessibility & contrast

On white

2.62
#F266F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#F266F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266F7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266F7#FFFFFF#000000##000000
##F266F71.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FB
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#F879A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f266f7;
/* rgb */ color: rgb(242, 102, 247);
/* oklch */ color: oklch(73.6% 0.238 326.3);
Tailwind
colors: {
  custom: {
    50: '#fa99fa',
    500: '#f266f7',
    950: '#000000',
  },
}
SCSS
$custom: #f266f7;
$custom-light: #fa99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#f266f7",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 297.931,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73581,
    "c": 0.23792,
    "h": 326.3
  },
  "luminance": 0.35095
}

Semantic roles & 50–950 ramp

primary
#F266F7
secondary
#C8F2C7
accent
#E60008
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F17
muted
#867E85

Preview Lab

Preview with #F266F7

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

Preview Lab → · Contrast checker → · Palette generator →

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