#F268FC#F268FC

#F268FC is a light, highly saturated purple. Relative luminance 0.358; OKLCH L 74.1% C 0.239 H 324.9°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#F268FC
RGBrgb(242, 104, 252)
HSLhsl(296, 96%, 70%)
HSVhsv(296, 59%, 99%)
CMYKcmyk(4%, 58.7%, 0%, 1.2%)
CIE-LABlab(66.37, 71.79, -49.67)
CIE-LCHlch(66.37, 87.30, 325.32°)
OKLaboklab(74.06% 0.1959 -0.1375)
OKLCHoklch(74.06% 0.239 324.9)
XYZxyz(59.1375, 35.8095, 95.8736)
Luminance0.3581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F268FC #72FC68
analogous
#A868FC #F268FC #FC68BC
triadic
#F268FC #FCF268 #68FCF2
tetradic
#F268FC #FCA868 #72FC68 #68BCFC
square
#F268FC #FCA868 #72FC68 #68BCFC
split-complementary
#F268FC #BCFC68 #68FCA8
monochromatic
#D605E5 #ED2CFB #F268FC #F7A4FD #FCE0FE

Accessibility & contrast

On white

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

On black

8.16
#F268FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F268FC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F268FC#FFFFFF#000000##000000
##F268FC1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5196FF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#F77CA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f268fc;
/* rgb */ color: rgb(242, 104, 252);
/* oklch */ color: oklch(74.1% 0.239 324.9);
Tailwind
colors: {
  custom: {
    50: '#fa9afe',
    500: '#f268fc',
    950: '#000000',
  },
}
SCSS
$custom: #f268fc;
$custom-light: #fa9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#f268fc",
  "rgb": {
    "r": 242,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 295.946,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74059,
    "c": 0.23936,
    "h": 324.9
  },
  "luminance": 0.35806
}

Semantic roles & 50–950 ramp

primary
#F268FC
secondary
#CEF5CB
accent
#E60010
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F18
muted
#867E86

Preview Lab

Preview with #F268FC

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

Preview Lab → · Contrast checker → · Palette generator →

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