#F26CF2#F26CF2

#F26CF2 is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 74.0% C 0.225 H 327.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#F26CF2
RGBrgb(242, 108, 242)
HSLhsl(300, 84%, 69%)
HSVhsv(300, 55%, 95%)
CMYKcmyk(0%, 55.4%, 0%, 5.1%)
CIE-LABlab(66.53, 68.37, -43.92)
CIE-LCHlch(66.53, 81.26, 327.29°)
OKLaboklab(74.02% 0.1903 -0.1209)
OKLCHoklch(74.02% 0.225 327.6)
XYZxyz(58.0066, 36.0167, 87.8838)
Luminance0.3601 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F26CF2 #6CF26C
analogous
#AF6CF2 #F26CF2 #F26CAF
triadic
#F26CF2 #F2F26C #6CF2F2
tetradic
#F26CF2 #F2AF6C #6CF26C #6CAFF2
square
#F26CF2 #F2AF6C #6CF26C #6CAFF2
split-complementary
#F26CF2 #AFF26C #6CF2AF
monochromatic
#D112D1 #ED34ED #F26CF2 #F7A4F7 #FCDCFC

Accessibility & contrast

On white

2.56
#F26CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#F26CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F26CF2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F26CF2#FFFFFF#000000##000000
##F26CF21.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#8AA8EE
Tritanopia (blue-blind)
#F97CA5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f26cf2;
/* rgb */ color: rgb(242, 108, 242);
/* oklch */ color: oklch(74.0% 0.225 327.6);
Tailwind
colors: {
  custom: {
    50: '#f99cf7',
    500: '#f26cf2',
    950: '#000000',
  },
}
SCSS
$custom: #f26cf2;
$custom-light: #f99cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#f26cf2",
  "rgb": {
    "r": 242,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.74021,
    "c": 0.22544,
    "h": 327.6
  },
  "luminance": 0.36013
}

Semantic roles & 50–950 ramp

primary
#F26CF2
secondary
#C9F1C9
accent
#E00505
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F26CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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