#F26BF4#F26BF4

#F26BF4 is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 74.0% C 0.229 H 327.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F26BF4
RGBrgb(242, 107, 244)
HSLhsl(299, 86%, 69%)
HSVhsv(299, 56%, 96%)
CMYKcmyk(0.8%, 56.1%, 0%, 4.3%)
CIE-LABlab(66.46, 69.14, -45.13)
CIE-LCHlch(66.46, 82.57, 326.87°)
OKLaboklab(74% 0.1917 -0.1244)
OKLCHoklch(74% 0.229 327)
XYZxyz(58.2038, 35.9278, 89.4395)
Luminance0.3592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26BF4 #6DF46B
analogous
#AE6BF4 #F26BF4 #F46BB2
triadic
#F26BF4 #F4F26B #6BF4F2
tetradic
#F26BF4 #F4AE6B #6DF46B #6BB2F4
square
#F26BF4 #F4AE6B #6DF46B #6BB2F4
split-complementary
#F26BF4 #B2F46B #6BF4AE
monochromatic
#D210D5 #ED32F0 #F26BF4 #F7A4F8 #FCDDFC

Accessibility & contrast

On white

2.57
#F26BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F26BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26BF4
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26BF4#FFFFFF#000000##000000
##F26BF41.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B96F8
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#F87CA6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26bf4;
/* rgb */ color: rgb(242, 107, 244);
/* oklch */ color: oklch(74.0% 0.229 327.0);
Tailwind
colors: {
  custom: {
    50: '#f99cf8',
    500: '#f26bf4',
    950: '#000000',
  },
}
SCSS
$custom: #f26bf4;
$custom-light: #f99cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#f26bf4",
  "rgb": {
    "r": 242,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 299.124,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.74002,
    "c": 0.22851,
    "h": 327
  },
  "luminance": 0.35924
}

Semantic roles & 50–950 ramp

primary
#F26BF4
secondary
#CAF2C9
accent
#E30306
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85

Preview Lab

Preview with #F26BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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