#F26CEC#F26CEC

#F26CEC is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.7% C 0.221 H 329.3°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#F26CEC
RGBrgb(242, 108, 236)
HSLhsl(303, 84%, 69%)
HSVhsv(303, 55%, 95%)
CMYKcmyk(0%, 55.4%, 2.5%, 5.1%)
CIE-LABlab(66.26, 67.37, -41.03)
CIE-LCHlch(66.26, 78.88, 328.66°)
OKLaboklab(73.73% 0.1896 -0.1126)
OKLCHoklch(73.73% 0.221 329.3)
XYZxyz(57.1202, 35.6622, 83.2155)
Luminance0.3566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26CEC #6CF272
analogous
#B56CF2 #F26CEC #F26CA9
triadic
#F26CEC #ECF26C #6CECF2
tetradic
#F26CEC #F2B56C #6CF272 #6CA9F2
square
#F26CEC #F2B56C #6CF272 #6CA9F2
split-complementary
#F26CEC #A9F26C #6CF2B5
monochromatic
#D112C9 #ED34E5 #F26CEC #F7A4F3 #FCDCFB

Accessibility & contrast

On white

2.58
#F26CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#F26CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26CEC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26CEC#FFFFFF#000000##000000
##F26CEC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F0
Deuteranopia (green-blind)
#8CA8E8
Tritanopia (blue-blind)
#FA7AA2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f26cec;
/* rgb */ color: rgb(242, 108, 236);
/* oklch */ color: oklch(73.7% 0.221 329.3);
Tailwind
colors: {
  custom: {
    50: '#f99cf2',
    500: '#f26cec',
    950: '#000000',
  },
}
SCSS
$custom: #f26cec;
$custom-light: #f99cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#f26cec",
  "rgb": {
    "r": 242,
    "g": 108,
    "b": 236
  },
  "hsl": {
    "h": 302.687,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73734,
    "c": 0.2205,
    "h": 329.3
  },
  "luminance": 0.35658
}

Semantic roles & 50–950 ramp

primary
#F26CEC
secondary
#C9F1CB
accent
#E00F05
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F26CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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