#F266FA#F266FA

#F266FA is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.7% C 0.240 H 325.5°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#F266FA
RGBrgb(242, 102, 250)
HSLhsl(297, 94%, 69%)
HSVhsv(297, 59%, 98%)
CMYKcmyk(3.2%, 59.2%, 0%, 2%)
CIE-LABlab(65.97, 72.29, -49.21)
CIE-LCHlch(65.97, 87.45, 325.76°)
OKLaboklab(73.73% 0.1981 -0.1362)
OKLCHoklch(73.73% 0.24 325.5)
XYZxyz(58.6234, 35.2856, 94.1469)
Luminance0.3528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266FA #6EFA66
analogous
#A866FA #F266FA #FA66B8
triadic
#F266FA #FAF266 #66FAF2
tetradic
#F266FA #FAA866 #6EFA66 #66B8FA
square
#F266FA #FAA866 #6EFA66 #66B8FA
split-complementary
#F266FA #B8FA66 #66FAA8
monochromatic
#D307DE #ED2BF8 #F266FA #F7A1FC #FCDDFE

Accessibility & contrast

On white

2.61
#F266FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#F266FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266FA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266FA#FFFFFF#000000##000000
##F266FA1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FF
Deuteranopia (green-blind)
#82A6F6
Tritanopia (blue-blind)
#F77AA7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f266fa;
/* rgb */ color: rgb(242, 102, 250);
/* oklch */ color: oklch(73.7% 0.240 325.5);
Tailwind
colors: {
  custom: {
    50: '#fa99fc',
    500: '#f266fa',
    950: '#000000',
  },
}
SCSS
$custom: #f266fa;
$custom-light: #fa99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f266fa",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 296.757,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73734,
    "c": 0.24041,
    "h": 325.5
  },
  "luminance": 0.35282
}

Semantic roles & 50–950 ramp

primary
#F266FA
secondary
#CBF4C8
accent
#E6000C
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F17
muted
#867E85

Preview Lab

Preview with #F266FA

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

Preview Lab → · Contrast checker → · Palette generator →

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