#F26AF7#F26AF7

#F26AF7 is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 74.0% C 0.232 H 326.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F26AF7
RGBrgb(242, 106, 247)
HSLhsl(298, 90%, 69%)
HSVhsv(298, 57%, 97%)
CMYKcmyk(2%, 57.1%, 0%, 3.1%)
CIE-LABlab(66.45, 70.08, -46.81)
CIE-LCHlch(66.45, 84.28, 326.26°)
OKLaboklab(74.03% 0.1932 -0.1293)
OKLCHoklch(74.03% 0.232 326.2)
XYZxyz(58.5593, 35.9042, 91.8234)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26AF7 #6FF76A
analogous
#AC6AF7 #F26AF7 #F76AB6
triadic
#F26AF7 #F7F26A #6AF7F2
tetradic
#F26AF7 #F7AC6A #6FF76A #6AB6F7
square
#F26AF7 #F7AC6A #6FF76A #6AB6F7
split-complementary
#F26AF7 #B6F76A #6AF7AC
monochromatic
#D40CDB #ED30F4 #F26AF7 #F7A4FA #FCDEFD

Accessibility & contrast

On white

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

On black

8.18
#F26AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26AF7
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26AF7#FFFFFF#000000##000000
##F26AF71.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FB
Deuteranopia (green-blind)
#86A8F3
Tritanopia (blue-blind)
#F87CA7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26af7;
/* rgb */ color: rgb(242, 106, 247);
/* oklch */ color: oklch(74.0% 0.232 326.2);
Tailwind
colors: {
  custom: {
    50: '#f99bfa',
    500: '#f26af7',
    950: '#000000',
  },
}
SCSS
$custom: #f26af7;
$custom-light: #f99bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#f26af7",
  "rgb": {
    "r": 242,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 297.872,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.74034,
    "c": 0.23242,
    "h": 326.2
  },
  "luminance": 0.35901
}

Semantic roles & 50–950 ramp

primary
#F26AF7
secondary
#CBF3CA
accent
#E60008
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F26AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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