#F266F1#F266F1

#F266F1 is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 73.3% C 0.233 H 327.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#F266F1
RGBrgb(242, 102, 241)
HSLhsl(300, 84%, 67%)
HSVhsv(300, 58%, 95%)
CMYKcmyk(0%, 57.9%, 0.4%, 5.1%)
CIE-LABlab(65.54, 70.78, -44.92)
CIE-LCHlch(65.54, 83.83, 327.60°)
OKLaboklab(73.28% 0.1974 -0.1238)
OKLCHoklch(73.28% 0.233 327.9)
XYZxyz(57.2457, 34.7345, 86.8913)
Luminance0.3473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266F1 #66F267
analogous
#AD66F2 #F266F1 #F266AB
triadic
#F266F1 #F1F266 #66F1F2
tetradic
#F266F1 #F2AD66 #66F267 #66ABF2
square
#F266F1 #F2AD66 #66F267 #66ABF2
split-complementary
#F266F1 #ABF266 #66F2AD
monochromatic
#CC11CB #ED2EEC #F266F1 #F79EF6 #FCD7FB

Accessibility & contrast

On white

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

On black

7.95
#F266F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266F1
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266F1#FFFFFF#000000##000000
##F266F11.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5793F5
Deuteranopia (green-blind)
#86A6ED
Tritanopia (blue-blind)
#F977A2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f266f1;
/* rgb */ color: rgb(242, 102, 241);
/* oklch */ color: oklch(73.3% 0.233 327.9);
Tailwind
colors: {
  custom: {
    50: '#f999f6',
    500: '#f266f1',
    950: '#000000',
  },
}
SCSS
$custom: #f266f1;
$custom-light: #f999f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f266f1",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 241
  },
  "hsl": {
    "h": 300.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.73282,
    "c": 0.23302,
    "h": 327.9
  },
  "luminance": 0.34731
}

Semantic roles & 50–950 ramp

primary
#F266F1
secondary
#C4F0C4
accent
#E10605
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#180E17
muted
#867E85

Preview Lab

Preview with #F266F1

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

Preview Lab → · Contrast checker → · Palette generator →

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