#F266F2#F266F2

#F266F2 is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.3% C 0.234 H 327.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#F266F2
RGBrgb(242, 102, 242)
HSLhsl(300, 84%, 67%)
HSVhsv(300, 58%, 95%)
CMYKcmyk(0%, 57.9%, 0%, 5.1%)
CIE-LABlab(65.59, 70.95, -45.40)
CIE-LCHlch(65.59, 84.23, 327.38°)
OKLaboklab(73.33% 0.1975 -0.1252)
OKLCHoklch(73.33% 0.234 327.6)
XYZxyz(57.3955, 34.7944, 87.6801)
Luminance0.3479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266F2 #66F266
analogous
#AC66F2 #F266F2 #F266AC
triadic
#F266F2 #F2F266 #66F2F2
tetradic
#F266F2 #F2AC66 #66F266 #66ACF2
square
#F266F2 #F2AC66 #66F266 #66ACF2
split-complementary
#F266F2 #ACF266 #66F2AC
monochromatic
#CC11CC #ED2EED #F266F2 #F79EF7 #FCD7FC

Accessibility & contrast

On white

2.64
#F266F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#F266F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266F2
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266F2#FFFFFF#000000##000000
##F266F21.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5694F6
Deuteranopia (green-blind)
#86A6EE
Tritanopia (blue-blind)
#F977A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f266f2;
/* rgb */ color: rgb(242, 102, 242);
/* oklch */ color: oklch(73.3% 0.234 327.6);
Tailwind
colors: {
  custom: {
    50: '#fa99f7',
    500: '#f266f2',
    950: '#000000',
  },
}
SCSS
$custom: #f266f2;
$custom-light: #fa99f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f266f2",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.73331,
    "c": 0.23383,
    "h": 327.6
  },
  "luminance": 0.34791
}

Semantic roles & 50–950 ramp

primary
#F266F2
secondary
#C4F0C4
accent
#E10505
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F266F2

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

Preview Lab → · Contrast checker → · Palette generator →

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