#F26FE2#F26FE2

#F26FE2 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.6% C 0.208 H 332.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#F26FE2
RGBrgb(242, 111, 226)
HSLhsl(307, 83%, 69%)
HSVhsv(307, 54%, 95%)
CMYKcmyk(0%, 54.1%, 6.6%, 5.1%)
CIE-LABlab(66.32, 64.41, -35.39)
CIE-LCHlch(66.32, 73.49, 331.21°)
OKLaboklab(73.64% 0.1843 -0.0965)
OKLCHoklch(73.64% 0.208 332.4)
XYZxyz(56.0297, 35.7409, 75.8843)
Luminance0.3574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26FE2 #6FF27F
analogous
#C16FF2 #F26FE2 #F26FA1
triadic
#F26FE2 #E2F26F #6FE2F2
tetradic
#F26FE2 #F2C16F #6FF27F #6FA1F2
square
#F26FE2 #F2C16F #6FF27F #6FA1F2
split-complementary
#F26FE2 #A1F26F #6FF2C1
monochromatic
#D413BC #ED37D7 #F26FE2 #F7A7ED #FCDFF9

Accessibility & contrast

On white

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

On black

8.15
#F26FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26FE2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26FE2#FFFFFF#000000##000000
##F26FE21.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B95E6
Deuteranopia (green-blind)
#92A8DE
Tritanopia (blue-blind)
#FB799F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f26fe2;
/* rgb */ color: rgb(242, 111, 226);
/* oklch */ color: oklch(73.6% 0.208 332.4);
Tailwind
colors: {
  custom: {
    50: '#f99eeb',
    500: '#f26fe2',
    950: '#000000',
  },
}
SCSS
$custom: #f26fe2;
$custom-light: #f99eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#f26fe2",
  "rgb": {
    "r": 242,
    "g": 111,
    "b": 226
  },
  "hsl": {
    "h": 307.328,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73636,
    "c": 0.20807,
    "h": 332.4
  },
  "luminance": 0.35737
}

Semantic roles & 50–950 ramp

primary
#F26FE2
secondary
#CBF1D0
accent
#E02006
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F26FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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