#F26FEC#F26FEC

#F26FEC is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.1% C 0.216 H 329.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#F26FEC
RGBrgb(242, 111, 236)
HSLhsl(303, 83%, 69%)
HSVhsv(303, 54%, 95%)
CMYKcmyk(0%, 54.1%, 2.5%, 5.1%)
CIE-LABlab(66.75, 66.04, -40.26)
CIE-LCHlch(66.75, 77.34, 328.63°)
OKLaboklab(74.1% 0.1858 -0.1104)
OKLCHoklch(74.1% 0.216 329.3)
XYZxyz(57.4421, 36.3059, 83.3228)
Luminance0.3630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26FEC #6FF275
analogous
#B76FF2 #F26FEC #F26FAB
triadic
#F26FEC #ECF26F #6FECF2
tetradic
#F26FEC #F2B76F #6FF275 #6FABF2
square
#F26FEC #F2B76F #6FF275 #6FABF2
split-complementary
#F26FEC #ABF26F #6FF2B7
monochromatic
#D413CB #ED37E5 #F26FEC #F7A7F3 #FCDFFB

Accessibility & contrast

On white

2.54
#F26FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#F26FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26FEC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26FEC#FFFFFF#000000##000000
##F26FEC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#8EA9E8
Tritanopia (blue-blind)
#FA7CA4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26fec;
/* rgb */ color: rgb(242, 111, 236);
/* oklch */ color: oklch(74.1% 0.216 329.3);
Tailwind
colors: {
  custom: {
    50: '#f99ef2',
    500: '#f26fec',
    950: '#000000',
  },
}
SCSS
$custom: #f26fec;
$custom-light: #f99ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#f26fec",
  "rgb": {
    "r": 242,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 302.748,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74095,
    "c": 0.21613,
    "h": 329.3
  },
  "luminance": 0.36302
}

Semantic roles & 50–950 ramp

primary
#F26FEC
secondary
#CBF1CD
accent
#E01006
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F26FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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