#F266DD#F266DD

#F266DD is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.3% C 0.217 H 333.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#F266DD
RGBrgb(242, 102, 221)
HSLhsl(309, 84%, 67%)
HSVhsv(309, 58%, 95%)
CMYKcmyk(0%, 57.9%, 8.7%, 5.1%)
CIE-LABlab(64.65, 67.57, -35.21)
CIE-LCHlch(64.65, 76.19, 332.48°)
OKLaboklab(72.34% 0.195 -0.0959)
OKLCHoklch(72.34% 0.217 333.8)
XYZxyz(54.4206, 33.6045, 72.0126)
Luminance0.3360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266DD #66F27B
analogous
#C166F2 #F266DD #F26697
triadic
#F266DD #DDF266 #66DDF2
tetradic
#F266DD #F2C166 #66F27B #6697F2
square
#F266DD #F2C166 #66F27B #6697F2
split-complementary
#F266DD #97F266 #66F2C1
monochromatic
#CC11B0 #ED2ED0 #F266DD #F79EEA #FCD7F6

Accessibility & contrast

On white

2.72
#F266DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#F266DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266DD
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266DD#FFFFFF#000000##000000
##F266DD1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E1
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#FC7098
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f266dd;
/* rgb */ color: rgb(242, 102, 221);
/* oklch */ color: oklch(72.3% 0.217 333.8);
Tailwind
colors: {
  custom: {
    50: '#f999e8',
    500: '#f266dd',
    950: '#000000',
  },
}
SCSS
$custom: #f266dd;
$custom-light: #f999e8;
$custom-dark: #000000;
JSON
{
  "hex": "#f266dd",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 309,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72336,
    "c": 0.21734,
    "h": 333.8
  },
  "luminance": 0.336
}

Semantic roles & 50–950 ramp

primary
#F266DD
secondary
#C4F0CB
accent
#E12605
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F266DD

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

Preview Lab → · Contrast checker → · Palette generator →

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