#F26CEF#F26CEF

#F26CEF is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 73.9% C 0.223 H 328.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#F26CEF
RGBrgb(242, 108, 239)
HSLhsl(301, 84%, 69%)
HSVhsv(301, 55%, 95%)
CMYKcmyk(0%, 55.4%, 1.2%, 5.1%)
CIE-LABlab(66.40, 67.87, -42.47)
CIE-LCHlch(66.40, 80.06, 327.96°)
OKLaboklab(73.88% 0.1899 -0.1168)
OKLCHoklch(73.88% 0.223 328.4)
XYZxyz(57.5598, 35.8380, 85.5303)
Luminance0.3583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26CEF #6CF26F
analogous
#B26CF2 #F26CEF #F26CAC
triadic
#F26CEF #EFF26C #6CEFF2
tetradic
#F26CEF #F2B26C #6CF26F #6CACF2
square
#F26CEF #F2B26C #6CF26F #6CACF2
split-complementary
#F26CEF #ACF26C #6CF2B2
monochromatic
#D112CD #ED34E9 #F26CEF #F7A4F5 #FCDCFB

Accessibility & contrast

On white

2.57
#F26CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#F26CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26CEF
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26CEF#FFFFFF#000000##000000
##F26CEF1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#8BA8EB
Tritanopia (blue-blind)
#F97BA4
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f26cef;
/* rgb */ color: rgb(242, 108, 239);
/* oklch */ color: oklch(73.9% 0.223 328.4);
Tailwind
colors: {
  custom: {
    50: '#f99cf4',
    500: '#f26cef',
    950: '#000000',
  },
}
SCSS
$custom: #f26cef;
$custom-light: #f99cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#f26cef",
  "rgb": {
    "r": 242,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 301.343,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73876,
    "c": 0.22296,
    "h": 328.4
  },
  "luminance": 0.35834
}

Semantic roles & 50–950 ramp

primary
#F26CEF
secondary
#C9F1CA
accent
#E00A05
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F26CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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