#F266F0#F266F0

#F266F0 is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 73.2% C 0.232 H 328.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#F266F0
RGBrgb(242, 102, 240)
HSLhsl(301, 84%, 67%)
HSVhsv(301, 58%, 95%)
CMYKcmyk(0%, 57.9%, 0.8%, 5.1%)
CIE-LABlab(65.49, 70.61, -44.44)
CIE-LCHlch(65.49, 83.44, 327.82°)
OKLaboklab(73.23% 0.1973 -0.1224)
OKLCHoklch(73.23% 0.232 328.2)
XYZxyz(57.0967, 34.6749, 86.1068)
Luminance0.3467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266F0 #66F268
analogous
#AE66F2 #F266F0 #F266AA
triadic
#F266F0 #F0F266 #66F0F2
tetradic
#F266F0 #F2AE66 #66F268 #66AAF2
square
#F266F0 #F2AE66 #66F268 #66AAF2
split-complementary
#F266F0 #AAF266 #66F2AE
monochromatic
#CC11CA #ED2EEA #F266F0 #F79EF6 #FCD7FB

Accessibility & contrast

On white

2.65
#F266F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#F266F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266F0
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266F0#FFFFFF#000000##000000
##F266F01.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F4
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#F976A2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f266f0;
/* rgb */ color: rgb(242, 102, 240);
/* oklch */ color: oklch(73.2% 0.232 328.2);
Tailwind
colors: {
  custom: {
    50: '#f999f5',
    500: '#f266f0',
    950: '#000000',
  },
}
SCSS
$custom: #f266f0;
$custom-light: #f999f5;
$custom-dark: #000000;
JSON
{
  "hex": "#f266f0",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 300.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.73233,
    "c": 0.23221,
    "h": 328.2
  },
  "luminance": 0.34671
}

Semantic roles & 50–950 ramp

primary
#F266F0
secondary
#C4F0C5
accent
#E10805
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #F266F0

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

Preview Lab → · Contrast checker → · Palette generator →

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