#F26CFB#F26CFB

#F26CFB is a light, highly saturated purple. Relative luminance 0.366; OKLCH L 74.5% C 0.233 H 325.1°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#F26CFB
RGBrgb(242, 108, 251)
HSLhsl(296, 95%, 70%)
HSVhsv(296, 57%, 98%)
CMYKcmyk(3.6%, 57%, 0%, 1.6%)
CIE-LABlab(66.95, 69.90, -48.21)
CIE-LCHlch(66.95, 84.91, 325.41°)
OKLaboklab(74.47% 0.1911 -0.1333)
OKLCHoklch(74.47% 0.233 325.1)
XYZxyz(59.3917, 36.5707, 95.1786)
Luminance0.3657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26CFB #75FB6C
analogous
#AB6CFB #F26CFB #FB6CBC
triadic
#F26CFB #FBF26C #6CFBF2
tetradic
#F26CFB #FBAB6C #75FB6C #6CBCFB
square
#F26CFB #FBAB6C #75FB6C #6CBCFB
split-complementary
#F26CFB #BCFB6C #6CFBAB
monochromatic
#D806E6 #ED30F9 #F26CFB #F7A8FD #FCE1FE

Accessibility & contrast

On white

2.53
#F26CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#F26CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26CFB
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26CFB#FFFFFF#000000##000000
##F26CFB1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#85A9F7
Tritanopia (blue-blind)
#F77FAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f26cfb;
/* rgb */ color: rgb(242, 108, 251);
/* oklch */ color: oklch(74.5% 0.233 325.1);
Tailwind
colors: {
  custom: {
    50: '#f99dfd',
    500: '#f26cfb',
    950: '#000000',
  },
}
SCSS
$custom: #f26cfb;
$custom-light: #f99dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f26cfb",
  "rgb": {
    "r": 242,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 296.224,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74466,
    "c": 0.23299,
    "h": 325.1
  },
  "luminance": 0.36567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F26CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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