#F26CF7#F26CF7

#F26CF7 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.3% C 0.230 H 326.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#F26CF7
RGBrgb(242, 108, 247)
HSLhsl(298, 90%, 70%)
HSVhsv(298, 56%, 97%)
CMYKcmyk(2%, 56.3%, 0%, 3.1%)
CIE-LABlab(66.76, 69.22, -46.31)
CIE-LCHlch(66.76, 83.28, 326.22°)
OKLaboklab(74.27% 0.1907 -0.1278)
OKLCHoklch(74.27% 0.23 326.2)
XYZxyz(58.7678, 36.3212, 91.8929)
Luminance0.3632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26CF7 #71F76C
analogous
#AD6CF7 #F26CF7 #F76CB6
triadic
#F26CF7 #F7F26C #6CF7F2
tetradic
#F26CF7 #F7AD6C #71F76C #6CB6F7
square
#F26CF7 #F7AD6C #71F76C #6CB6F7
split-complementary
#F26CF7 #B6F76C #6CF7AD
monochromatic
#D50CDD #ED32F4 #F26CF7 #F7A6FA #FCE0FD

Accessibility & contrast

On white

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

On black

8.26
#F26CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26CF7
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26CF7#FFFFFF#000000##000000
##F26CF71.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FB
Deuteranopia (green-blind)
#87A8F3
Tritanopia (blue-blind)
#F87EA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26cf7;
/* rgb */ color: rgb(242, 108, 247);
/* oklch */ color: oklch(74.3% 0.230 326.2);
Tailwind
colors: {
  custom: {
    50: '#f99dfa',
    500: '#f26cf7',
    950: '#000000',
  },
}
SCSS
$custom: #f26cf7;
$custom-light: #f99dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#f26cf7",
  "rgb": {
    "r": 242,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 297.842,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74266,
    "c": 0.22961,
    "h": 326.2
  },
  "luminance": 0.36318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F26CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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