#F266E8#F266E8

#F266E8 is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.8% C 0.226 H 330.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#F266E8
RGBrgb(242, 102, 232)
HSLhsl(304, 84%, 67%)
HSVhsv(304, 58%, 95%)
CMYKcmyk(0%, 57.9%, 4.1%, 5.1%)
CIE-LABlab(65.13, 69.31, -40.58)
CIE-LCHlch(65.13, 80.32, 329.65°)
OKLaboklab(72.85% 0.1965 -0.1113)
OKLCHoklch(72.85% 0.226 330.5)
XYZxyz(55.9345, 34.2100, 79.9854)
Luminance0.3421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266E8 #66F270
analogous
#B666F2 #F266E8 #F266A2
triadic
#F266E8 #E8F266 #66E8F2
tetradic
#F266E8 #F2B666 #66F270 #66A2F2
square
#F266E8 #F2B666 #66F270 #66A2F2
split-complementary
#F266E8 #A2F266 #66F2B6
monochromatic
#CC11BF #ED2EE0 #F266E8 #F79EF0 #FCD7F9

Accessibility & contrast

On white

2.68
#F266E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#F266E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266E8
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266E8#FFFFFF#000000##000000
##F266E81.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EC
Deuteranopia (green-blind)
#8BA5E4
Tritanopia (blue-blind)
#FB749E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f266e8;
/* rgb */ color: rgb(242, 102, 232);
/* oklch */ color: oklch(72.8% 0.226 330.5);
Tailwind
colors: {
  custom: {
    50: '#f999ef',
    500: '#f266e8',
    950: '#000000',
  },
}
SCSS
$custom: #f266e8;
$custom-light: #f999ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f266e8",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 304.286,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72846,
    "c": 0.22582,
    "h": 330.5
  },
  "luminance": 0.34206
}

Semantic roles & 50–950 ramp

primary
#F266E8
secondary
#C4F0C7
accent
#E11405
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F266E8

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

Preview Lab → · Contrast checker → · Palette generator →

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