#F26DF7#F26DF7

#F26DF7 is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.4% C 0.228 H 326.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#F26DF7
RGBrgb(242, 109, 247)
HSLhsl(298, 90%, 70%)
HSVhsv(298, 56%, 97%)
CMYKcmyk(2%, 55.9%, 0%, 3.1%)
CIE-LABlab(66.93, 68.78, -46.05)
CIE-LCHlch(66.93, 82.77, 326.19°)
OKLaboklab(74.38% 0.1895 -0.1271)
OKLCHoklch(74.38% 0.228 326.2)
XYZxyz(58.8739, 36.5333, 91.9283)
Luminance0.3653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26DF7 #72F76D
analogous
#AD6DF7 #F26DF7 #F76DB7
triadic
#F26DF7 #F7F26D #6DF7F2
tetradic
#F26DF7 #F7AD6D #72F76D #6DB7F7
square
#F26DF7 #F7AD6D #72F76D #6DB7F7
split-complementary
#F26DF7 #B7F76D #6DF7AD
monochromatic
#D60CDD #ED33F4 #F26DF7 #F7A7FA #FCE1FD

Accessibility & contrast

On white

2.53
#F26DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#F26DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26DF7
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26DF7#FFFFFF#000000##000000
##F26DF71.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#88A9F3
Tritanopia (blue-blind)
#F87EA8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f26df7;
/* rgb */ color: rgb(242, 109, 247);
/* oklch */ color: oklch(74.4% 0.228 326.2);
Tailwind
colors: {
  custom: {
    50: '#f99dfa',
    500: '#f26df7',
    950: '#000000',
  },
}
SCSS
$custom: #f26df7;
$custom-light: #f99dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#f26df7",
  "rgb": {
    "r": 242,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 297.826,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74384,
    "c": 0.2282,
    "h": 326.2
  },
  "luminance": 0.3653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F26DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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