#F26AFB#F26AFB

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

Color values

HEX#F26AFB
RGBrgb(242, 106, 251)
HSLhsl(296, 95%, 70%)
HSVhsv(296, 58%, 98%)
CMYKcmyk(3.6%, 57.8%, 0%, 1.6%)
CIE-LABlab(66.64, 70.77, -48.71)
CIE-LCHlch(66.64, 85.91, 325.46°)
OKLaboklab(74.24% 0.1935 -0.1347)
OKLCHoklch(74.24% 0.236 325.1)
XYZxyz(59.1832, 36.1537, 95.1091)
Luminance0.3615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26AFB #73FB6A
analogous
#AA6AFB #F26AFB #FB6ABB
triadic
#F26AFB #FBF26A #6AFBF2
tetradic
#F26AFB #FBAA6A #73FB6A #6ABBFB
square
#F26AFB #FBAA6A #73FB6A #6ABBFB
split-complementary
#F26AFB #BBFB6A #6AFBAA
monochromatic
#D706E4 #ED2EF9 #F26AFB #F7A6FD #FCE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F26AFB#FFFFFF#000000##000000
##F26AFB1.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)
#5497FF
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#F77EA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26afb;
/* rgb */ color: rgb(242, 106, 251);
/* oklch */ color: oklch(74.2% 0.236 325.1);
Tailwind
colors: {
  custom: {
    50: '#f99cfd',
    500: '#f26afb',
    950: '#000000',
  },
}
SCSS
$custom: #f26afb;
$custom-light: #f99cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f26afb",
  "rgb": {
    "r": 242,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 296.276,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.74235,
    "c": 0.23578,
    "h": 325.1
  },
  "luminance": 0.3615
}

Semantic roles & 50–950 ramp

primary
#F26AFB
secondary
#CFF5CC
accent
#E6000E
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F26AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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