#F266E6#F266E6

#F266E6 is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.8% C 0.224 H 331.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#F266E6
RGBrgb(242, 102, 230)
HSLhsl(305, 84%, 67%)
HSVhsv(305, 58%, 95%)
CMYKcmyk(0%, 57.9%, 5%, 5.1%)
CIE-LABlab(65.04, 68.99, -39.61)
CIE-LCHlch(65.04, 79.55, 330.14°)
OKLaboklab(72.75% 0.1963 -0.1085)
OKLCHoklch(72.75% 0.224 331.1)
XYZxyz(55.6520, 34.0970, 78.4978)
Luminance0.3409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266E6 #66F272
analogous
#B866F2 #F266E6 #F266A0
triadic
#F266E6 #E6F266 #66E6F2
tetradic
#F266E6 #F2B866 #66F272 #66A0F2
square
#F266E6 #F2B866 #66F272 #66A0F2
split-complementary
#F266E6 #A0F266 #66F2B8
monochromatic
#CC11BC #ED2EDD #F266E6 #F79EEF #FCD7F8

Accessibility & contrast

On white

2.69
#F266E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#F266E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266E6
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266E6#FFFFFF#000000##000000
##F266E61.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E91EA
Deuteranopia (green-blind)
#8BA5E2
Tritanopia (blue-blind)
#FB739D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f266e6;
/* rgb */ color: rgb(242, 102, 230);
/* oklch */ color: oklch(72.8% 0.224 331.1);
Tailwind
colors: {
  custom: {
    50: '#f999ee',
    500: '#f266e6',
    950: '#000000',
  },
}
SCSS
$custom: #f266e6;
$custom-light: #f999ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f266e6",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 305.143,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72752,
    "c": 0.22425,
    "h": 331.1
  },
  "luminance": 0.34093
}

Semantic roles & 50–950 ramp

primary
#F266E6
secondary
#C4F0C8
accent
#E11805
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F266E6

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

Preview Lab → · Contrast checker → · Palette generator →

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