#F266FF#F266FF

#F266FF is a light, highly saturated purple. Relative luminance 0.356; OKLCH L 74.0% C 0.245 H 324.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#F266FF
RGBrgb(242, 102, 255)
HSLhsl(295, 100%, 70%)
HSVhsv(295, 60%, 100%)
CMYKcmyk(5.1%, 60%, 0%, 0%)
CIE-LABlab(66.22, 73.15, -51.57)
CIE-LCHlch(66.22, 89.50, 324.82°)
OKLaboklab(73.99% 0.1984 -0.143)
OKLCHoklch(73.99% 0.245 324.2)
XYZxyz(59.4178, 35.6033, 98.3308)
Luminance0.3560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266FF #73FF66
analogous
#A666FF #F266FF #FF66BF
triadic
#F266FF #FFF266 #66FFF2
tetradic
#F266FF #FFA666 #73FF66 #66BFFF
square
#F266FF #FFA666 #73FF66 #66BFFF
split-complementary
#F266FF #BFFF66 #66FFA6
monochromatic
#D700EB #ED29FF #F266FF #F7A3FF #FCE0FF

Accessibility & contrast

On white

2.59
#F266FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#F266FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266FF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266FF#FFFFFF#000000##000000
##F266FF1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B96FF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#F67CAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f266ff;
/* rgb */ color: rgb(242, 102, 255);
/* oklch */ color: oklch(74.0% 0.245 324.2);
Tailwind
colors: {
  custom: {
    50: '#fa99ff',
    500: '#f266ff',
    950: '#000000',
  },
}
SCSS
$custom: #f266ff;
$custom-light: #fa99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f266ff",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 294.902,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.73992,
    "c": 0.24458,
    "h": 324.2
  },
  "luminance": 0.356
}

Semantic roles & 50–950 ramp

primary
#F266FF
secondary
#CFF6CB
accent
#E60013
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F18
muted
#867E86

Preview Lab

Preview with #F266FF

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

Preview Lab → · Contrast checker → · Palette generator →

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