#F26AFD#F26AFD

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

Color values

HEX#F26AFD
RGBrgb(242, 106, 253)
HSLhsl(296, 97%, 70%)
HSVhsv(296, 58%, 99%)
CMYKcmyk(4.3%, 58.1%, 0%, 0.8%)
CIE-LABlab(66.73, 71.11, -49.65)
CIE-LCHlch(66.73, 86.73, 325.08°)
OKLaboklab(74.34% 0.1936 -0.1375)
OKLCHoklch(74.34% 0.237 324.6)
XYZxyz(59.5001, 36.2805, 96.7783)
Luminance0.3628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26AFD #75FD6A
analogous
#A86AFD #F26AFD #FD6ABF
triadic
#F26AFD #FDF26A #6AFDF2
tetradic
#F26AFD #FDA86A #75FD6A #6ABFFD
square
#F26AFD #FDA86A #75FD6A #6ABFFD
split-complementary
#F26AFD #BFFD6A #6AFDA8
monochromatic
#D803E9 #ED2EFC #F26AFD #F7A6FE #FCE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F26AFD#FFFFFF#000000##000000
##F26AFD1.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)
#5398FF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#F77EAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26afd;
/* rgb */ color: rgb(242, 106, 253);
/* oklch */ color: oklch(74.3% 0.237 324.6);
Tailwind
colors: {
  custom: {
    50: '#f99cfe',
    500: '#f26afd',
    950: '#000000',
  },
}
SCSS
$custom: #f26afd;
$custom-light: #f99cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f26afd",
  "rgb": {
    "r": 242,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 295.51,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74337,
    "c": 0.23747,
    "h": 324.6
  },
  "luminance": 0.36277
}

Semantic roles & 50–950 ramp

primary
#F26AFD
secondary
#D0F6CD
accent
#E60011
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F26AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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