#F26CF4#F26CF4

#F26CF4 is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.1% C 0.227 H 327.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#F26CF4
RGBrgb(242, 108, 244)
HSLhsl(299, 86%, 69%)
HSVhsv(299, 56%, 96%)
CMYKcmyk(0.8%, 55.7%, 0%, 4.3%)
CIE-LABlab(66.62, 68.71, -44.87)
CIE-LCHlch(66.62, 82.06, 326.85°)
OKLaboklab(74.12% 0.1905 -0.1237)
OKLCHoklch(74.12% 0.227 327)
XYZxyz(58.3086, 36.1375, 89.4744)
Luminance0.3613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26CF4 #6EF46C
analogous
#AE6CF4 #F26CF4 #F46CB2
triadic
#F26CF4 #F4F26C #6CF4F2
tetradic
#F26CF4 #F4AE6C #6EF46C #6CB2F4
square
#F26CF4 #F4AE6C #6EF46C #6CB2F4
split-complementary
#F26CF4 #B2F46C #6CF4AE
monochromatic
#D310D6 #ED33F0 #F26CF4 #F7A5F8 #FCDEFD

Accessibility & contrast

On white

2.55
#F26CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#F26CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26CF4
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26CF4#FFFFFF#000000##000000
##F26CF41.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F8
Deuteranopia (green-blind)
#89A8F0
Tritanopia (blue-blind)
#F87DA6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26cf4;
/* rgb */ color: rgb(242, 108, 244);
/* oklch */ color: oklch(74.1% 0.227 327.0);
Tailwind
colors: {
  custom: {
    50: '#f99df8',
    500: '#f26cf4',
    950: '#000000',
  },
}
SCSS
$custom: #f26cf4;
$custom-light: #f99df8;
$custom-dark: #000000;
JSON
{
  "hex": "#f26cf4",
  "rgb": {
    "r": 242,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 299.118,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.74119,
    "c": 0.2271,
    "h": 327
  },
  "luminance": 0.36134
}

Semantic roles & 50–950 ramp

primary
#F26CF4
secondary
#CBF2CA
accent
#E30306
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F26CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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