#F26CF8#F26CF8

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

Color values

HEX#F26CF8
RGBrgb(242, 108, 248)
HSLhsl(297, 91%, 70%)
HSVhsv(297, 56%, 97%)
CMYKcmyk(2.4%, 56.5%, 0%, 2.7%)
CIE-LABlab(66.81, 69.39, -46.78)
CIE-LCHlch(66.81, 83.69, 326.01°)
OKLaboklab(74.32% 0.1908 -0.1292)
OKLCHoklch(74.32% 0.23 325.9)
XYZxyz(58.9226, 36.3831, 92.7078)
Luminance0.3638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26CF8 #72F86C
analogous
#AC6CF8 #F26CF8 #F86CB8
triadic
#F26CF8 #F8F26C #6CF8F2
tetradic
#F26CF8 #F8AC6C #72F86C #6CB8F8
square
#F26CF8 #F8AC6C #72F86C #6CB8F8
split-complementary
#F26CF8 #B8F86C #6CF8AC
monochromatic
#D60BDF #ED32F5 #F26CF8 #F7A6FB #FCE1FE

Accessibility & contrast

On white

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

On black

8.28
#F26CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26CF8
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26CF8#FFFFFF#000000##000000
##F26CF81.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FC
Deuteranopia (green-blind)
#87A8F4
Tritanopia (blue-blind)
#F87EA8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f26cf8;
/* rgb */ color: rgb(242, 108, 248);
/* oklch */ color: oklch(74.3% 0.230 325.9);
Tailwind
colors: {
  custom: {
    50: '#f99dfb',
    500: '#f26cf8',
    950: '#000000',
  },
}
SCSS
$custom: #f26cf8;
$custom-light: #f99dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#f26cf8",
  "rgb": {
    "r": 242,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 297.429,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74316,
    "c": 0.23046,
    "h": 325.9
  },
  "luminance": 0.3638
}

Semantic roles & 50–950 ramp

primary
#F26CF8
secondary
#CEF4CC
accent
#E6000A
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F26CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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