#F26DFC#F26DFC

#F26DFC is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.6% C 0.232 H 324.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#F26DFC
RGBrgb(242, 109, 252)
HSLhsl(296, 96%, 71%)
HSVhsv(296, 57%, 99%)
CMYKcmyk(4%, 56.7%, 0%, 1.2%)
CIE-LABlab(67.16, 69.64, -48.43)
CIE-LCHlch(67.16, 84.82, 325.19°)
OKLaboklab(74.63% 0.19 -0.134)
OKLCHoklch(74.63% 0.232 324.8)
XYZxyz(59.6558, 36.8461, 96.0464)
Luminance0.3684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26DFC #77FC6D
analogous
#AA6DFC #F26DFC #FC6DBE
triadic
#F26DFC #FCF26D #6DFCF2
tetradic
#F26DFC #FCAA6D #77FC6D #6DBEFC
square
#F26DFC #FCAA6D #77FC6D #6DBEFC
split-complementary
#F26DFC #BEFC6D #6DFCAA
monochromatic
#DA05EA #ED31FB #F26DFC #F7A9FD #FCE1FE

Accessibility & contrast

On white

2.51
#F26DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#F26DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26DFC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26DFC#FFFFFF#000000##000000
##F26DFC1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#F780AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f26dfc;
/* rgb */ color: rgb(242, 109, 252);
/* oklch */ color: oklch(74.6% 0.232 324.8);
Tailwind
colors: {
  custom: {
    50: '#f99dfe',
    500: '#f26dfc',
    950: '#000000',
  },
}
SCSS
$custom: #f26dfc;
$custom-light: #f99dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f26dfc",
  "rgb": {
    "r": 242,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 295.804,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74633,
    "c": 0.23244,
    "h": 324.8
  },
  "luminance": 0.36843
}

Semantic roles & 50–950 ramp

primary
#F26DFC
secondary
#D2F6CF
accent
#E60010
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F26DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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