#F266EB#F266EB

#F266EB is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 73.0% C 0.228 H 329.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#F266EB
RGBrgb(242, 102, 235)
HSLhsl(303, 84%, 67%)
HSVhsv(303, 58%, 95%)
CMYKcmyk(0%, 57.9%, 2.9%, 5.1%)
CIE-LABlab(65.26, 69.79, -42.03)
CIE-LCHlch(65.26, 81.48, 328.94°)
OKLaboklab(72.99% 0.1968 -0.1155)
OKLCHoklch(72.99% 0.228 329.6)
XYZxyz(56.3642, 34.3819, 82.2488)
Luminance0.3438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266EB #66F26D
analogous
#B366F2 #F266EB #F266A5
triadic
#F266EB #EBF266 #66EBF2
tetradic
#F266EB #F2B366 #66F26D #66A5F2
square
#F266EB #F2B366 #66F26D #66A5F2
split-complementary
#F266EB #A5F266 #66F2B3
monochromatic
#CC11C3 #ED2EE4 #F266EB #F79EF2 #FCD7FA

Accessibility & contrast

On white

2.67
#F266EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#F266EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266EB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266EB#FFFFFF#000000##000000
##F266EB1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#89A5E7
Tritanopia (blue-blind)
#FA759F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f266eb;
/* rgb */ color: rgb(242, 102, 235);
/* oklch */ color: oklch(73.0% 0.228 329.6);
Tailwind
colors: {
  custom: {
    50: '#f999f2',
    500: '#f266eb',
    950: '#000000',
  },
}
SCSS
$custom: #f266eb;
$custom-light: #f999f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f266eb",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 303,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7299,
    "c": 0.2282,
    "h": 329.6
  },
  "luminance": 0.34378
}

Semantic roles & 50–950 ramp

primary
#F266EB
secondary
#C4F0C6
accent
#E11005
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F266EB

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

Preview Lab → · Contrast checker → · Palette generator →

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