#F26AFE#F26AFE

#F26AFE is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.4% C 0.238 H 324.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F26AFE
RGBrgb(242, 106, 254)
HSLhsl(295, 99%, 71%)
HSVhsv(295, 58%, 100%)
CMYKcmyk(4.7%, 58.3%, 0%, 0.4%)
CIE-LABlab(66.78, 71.29, -50.12)
CIE-LCHlch(66.78, 87.14, 324.89°)
OKLaboklab(74.39% 0.1937 -0.1389)
OKLCHoklch(74.39% 0.238 324.4)
XYZxyz(59.6598, 36.3444, 97.6194)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26AFE #76FE6A
analogous
#A86AFE #F26AFE #FE6AC0
triadic
#F26AFE #FEF26A #6AFEF2
tetradic
#F26AFE #FEA86A #76FE6A #6AC0FE
square
#F26AFE #FEA86A #76FE6A #6AC0FE
split-complementary
#F26AFE #C0FE6A #6AFEA8
monochromatic
#D902EC #ED2DFE #F26AFE #F7A7FE #FCE1FF

Accessibility & contrast

On white

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

On black

8.27
#F26AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26AFE
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26AFE#FFFFFF#000000##000000
##F26AFE1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#F77FAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26afe;
/* rgb */ color: rgb(242, 106, 254);
/* oklch */ color: oklch(74.4% 0.238 324.4);
Tailwind
colors: {
  custom: {
    50: '#fa9cff',
    500: '#f26afe',
    950: '#000000',
  },
}
SCSS
$custom: #f26afe;
$custom-light: #fa9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#f26afe",
  "rgb": {
    "r": 242,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 295.135,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74388,
    "c": 0.23832,
    "h": 324.4
  },
  "luminance": 0.36341
}

Semantic roles & 50–950 ramp

primary
#F26AFE
secondary
#D1F6CE
accent
#E60013
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F26AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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