#F266DF#F266DF

#F266DF is a light, highly saturated purple. Relative luminance 0.337; OKLCH L 72.4% C 0.219 H 333.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#F266DF
RGBrgb(242, 102, 223)
HSLhsl(308, 84%, 67%)
HSVhsv(308, 58%, 95%)
CMYKcmyk(0%, 57.9%, 7.9%, 5.1%)
CIE-LABlab(64.73, 67.88, -36.19)
CIE-LCHlch(64.73, 76.93, 331.94°)
OKLaboklab(72.43% 0.1953 -0.0987)
OKLCHoklch(72.43% 0.219 333.2)
XYZxyz(54.6887, 33.7117, 73.4243)
Luminance0.3371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266DF #66F279
analogous
#BF66F2 #F266DF #F26699
triadic
#F266DF #DFF266 #66DFF2
tetradic
#F266DF #F2BF66 #66F279 #6699F2
square
#F266DF #F2BF66 #66F279 #6699F2
split-complementary
#F266DF #99F266 #66F2BF
monochromatic
#CC11B3 #ED2ED3 #F266DF #F79EEB #FCD7F7

Accessibility & contrast

On white

2.71
#F266DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#F266DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266DF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266DF#FFFFFF#000000##000000
##F266DF1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6390E3
Deuteranopia (green-blind)
#8EA4DB
Tritanopia (blue-blind)
#FC7099
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f266df;
/* rgb */ color: rgb(242, 102, 223);
/* oklch */ color: oklch(72.4% 0.219 333.2);
Tailwind
colors: {
  custom: {
    50: '#f999e9',
    500: '#f266df',
    950: '#000000',
  },
}
SCSS
$custom: #f266df;
$custom-light: #f999e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f266df",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 308.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72427,
    "c": 0.21885,
    "h": 333.2
  },
  "luminance": 0.33708
}

Semantic roles & 50–950 ramp

primary
#F266DF
secondary
#C4F0CA
accent
#E12305
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F266DF

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

Preview Lab → · Contrast checker → · Palette generator →

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