#F26BFB#F26BFB

#F26BFB is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.4% C 0.234 H 325.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F26BFB
RGBrgb(242, 107, 251)
HSLhsl(296, 95%, 70%)
HSVhsv(296, 57%, 98%)
CMYKcmyk(3.6%, 57.4%, 0%, 1.6%)
CIE-LABlab(66.79, 70.34, -48.46)
CIE-LCHlch(66.79, 85.41, 325.44°)
OKLaboklab(74.35% 0.1923 -0.134)
OKLCHoklch(74.35% 0.234 325.1)
XYZxyz(59.2869, 36.3610, 95.1437)
Luminance0.3636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26BFB #74FB6B
analogous
#AA6BFB #F26BFB #FB6BBC
triadic
#F26BFB #FBF26B #6BFBF2
tetradic
#F26BFB #FBAA6B #74FB6B #6BBCFB
square
#F26BFB #FBAA6B #74FB6B #6BBCFB
split-complementary
#F26BFB #BCFB6B #6BFBAA
monochromatic
#D706E5 #ED2FF9 #F26BFB #F7A7FD #FCE1FE

Accessibility & contrast

On white

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

On black

8.27
#F26BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26BFB
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26BFB#FFFFFF#000000##000000
##F26BFB1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#85A8F7
Tritanopia (blue-blind)
#F77EA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26bfb;
/* rgb */ color: rgb(242, 107, 251);
/* oklch */ color: oklch(74.4% 0.234 325.1);
Tailwind
colors: {
  custom: {
    50: '#f99cfd',
    500: '#f26bfb',
    950: '#000000',
  },
}
SCSS
$custom: #f26bfb;
$custom-light: #f99cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f26bfb",
  "rgb": {
    "r": 242,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 296.25,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7435,
    "c": 0.23439,
    "h": 325.1
  },
  "luminance": 0.36358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F26BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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