#F266E7#F266E7

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

Color values

HEX#F266E7
RGBrgb(242, 102, 231)
HSLhsl(305, 84%, 67%)
HSVhsv(305, 58%, 95%)
CMYKcmyk(0%, 57.9%, 4.5%, 5.1%)
CIE-LABlab(65.08, 69.15, -40.10)
CIE-LCHlch(65.08, 79.93, 329.89°)
OKLaboklab(72.8% 0.1964 -0.1099)
OKLCHoklch(72.8% 0.225 330.8)
XYZxyz(55.7928, 34.1533, 79.2394)
Luminance0.3415 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F266E7 #66F271
analogous
#B766F2 #F266E7 #F266A1
triadic
#F266E7 #E7F266 #66E7F2
tetradic
#F266E7 #F2B766 #66F271 #66A1F2
square
#F266E7 #F2B766 #66F271 #66A1F2
split-complementary
#F266E7 #A1F266 #66F2B7
monochromatic
#CC11BE #ED2EDE #F266E7 #F79EF0 #FCD7F9

Accessibility & contrast

On white

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

On black

7.83
#F266E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F266E7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F266E7#FFFFFF#000000##000000
##F266E71.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f266e7;
/* rgb */ color: rgb(242, 102, 231);
/* oklch */ color: oklch(72.8% 0.225 330.8);
Tailwind
colors: {
  custom: {
    50: '#f999ef',
    500: '#f266e7',
    950: '#000000',
  },
}
SCSS
$custom: #f266e7;
$custom-light: #f999ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f266e7",
  "rgb": {
    "r": 242,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 304.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72799,
    "c": 0.22504,
    "h": 330.8
  },
  "luminance": 0.3415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F266E7

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

Preview Lab → · Contrast checker → · Palette generator →

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