#F266DC#F266DC

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

Color values

HEX#F266DC
RGBrgb(242, 102, 220)
HSLhsl(309, 84%, 67%)
HSVhsv(309, 58%, 95%)
CMYKcmyk(0%, 57.9%, 9.1%, 5.1%)
CIE-LABlab(64.60, 67.42, -34.71)
CIE-LCHlch(64.60, 75.83, 332.76°)
OKLaboklab(72.29% 0.1949 -0.0945)
OKLCHoklch(72.29% 0.217 334.1)
XYZxyz(54.2878, 33.5513, 71.3130)
Luminance0.3355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266DC #66F27C
analogous
#C266F2 #F266DC #F26696
triadic
#F266DC #DCF266 #66DCF2
tetradic
#F266DC #F2C266 #66F27C #6696F2
square
#F266DC #F2C266 #66F27C #6696F2
split-complementary
#F266DC #96F266 #66F2C2
monochromatic
#CC11AF #ED2ECF #F266DC #F79EE9 #FCD7F6

Accessibility & contrast

On white

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

On black

7.71
#F266DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266DC
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266DC#FFFFFF#000000##000000
##F266DC1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E0
Deuteranopia (green-blind)
#90A4D8
Tritanopia (blue-blind)
#FC6F98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f266dc;
/* rgb */ color: rgb(242, 102, 220);
/* oklch */ color: oklch(72.3% 0.217 334.1);
Tailwind
colors: {
  custom: {
    50: '#f999e7',
    500: '#f266dc',
    950: '#000000',
  },
}
SCSS
$custom: #f266dc;
$custom-light: #f999e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f266dc",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 309.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72291,
    "c": 0.21659,
    "h": 334.1
  },
  "luminance": 0.33547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F266DC

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

Preview Lab → · Contrast checker → · Palette generator →

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