#F268EC#F268EC

#F268EC is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.3% C 0.226 H 329.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#F268EC
RGBrgb(242, 104, 236)
HSLhsl(303, 84%, 68%)
HSVhsv(303, 57%, 95%)
CMYKcmyk(0%, 57%, 2.5%, 5.1%)
CIE-LABlab(65.62, 69.11, -42.03)
CIE-LCHlch(65.62, 80.88, 328.69°)
OKLaboklab(73.27% 0.1945 -0.1155)
OKLCHoklch(73.27% 0.226 329.3)
XYZxyz(56.7080, 34.8377, 83.0781)
Luminance0.3483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F268EC #68F26E
analogous
#B368F2 #F268EC #F268A7
triadic
#F268EC #ECF268 #68ECF2
tetradic
#F268EC #F2B368 #68F26E #68A7F2
square
#F268EC #F2B368 #68F26E #68A7F2
split-complementary
#F268EC #A7F268 #68F2B3
monochromatic
#CE12C6 #ED30E5 #F268EC #F7A0F3 #FCD9FA

Accessibility & contrast

On white

2.64
#F268EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#F268EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F268EC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F268EC#FFFFFF#000000##000000
##F268EC1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93F0
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#FA77A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f268ec;
/* rgb */ color: rgb(242, 104, 236);
/* oklch */ color: oklch(73.3% 0.226 329.3);
Tailwind
colors: {
  custom: {
    50: '#f99af2',
    500: '#f268ec',
    950: '#000000',
  },
}
SCSS
$custom: #f268ec;
$custom-light: #f99af2;
$custom-dark: #000000;
JSON
{
  "hex": "#f268ec",
  "rgb": {
    "r": 242,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 302.609,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73266,
    "c": 0.2262,
    "h": 329.3
  },
  "luminance": 0.34834
}

Semantic roles & 50–950 ramp

primary
#F268EC
secondary
#C6F0C7
accent
#E10E05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180F17
muted
#867E85

Preview Lab

Preview with #F268EC

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

Preview Lab → · Contrast checker → · Palette generator →

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