#F268E4#F268E4

#F268E4 is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 72.9% C 0.220 H 331.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#F268E4
RGBrgb(242, 104, 228)
HSLhsl(306, 84%, 68%)
HSVhsv(306, 57%, 95%)
CMYKcmyk(0%, 57%, 5.8%, 5.1%)
CIE-LABlab(65.27, 67.81, -38.14)
CIE-LCHlch(65.27, 77.80, 330.64°)
OKLaboklab(72.89% 0.1935 -0.1043)
OKLCHoklch(72.89% 0.22 331.7)
XYZxyz(55.5717, 34.3832, 77.0934)
Luminance0.3438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F268E4 #68F276
analogous
#BB68F2 #F268E4 #F2689F
triadic
#F268E4 #E4F268 #68E4F2
tetradic
#F268E4 #F2BB68 #68F276 #689FF2
square
#F268E4 #F2BB68 #68F276 #689FF2
split-complementary
#F268E4 #9FF268 #68F2BB
monochromatic
#CE12BB #ED30DA #F268E4 #F7A0EE #FCD9F8

Accessibility & contrast

On white

2.67
#F268E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#F268E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F268E4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F268E4#FFFFFF#000000##000000
##F268E41.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6292E8
Deuteranopia (green-blind)
#8EA5E0
Tritanopia (blue-blind)
#FB749D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f268e4;
/* rgb */ color: rgb(242, 104, 228);
/* oklch */ color: oklch(72.9% 0.220 331.7);
Tailwind
colors: {
  custom: {
    50: '#f99aed',
    500: '#f268e4',
    950: '#000000',
  },
}
SCSS
$custom: #f268e4;
$custom-light: #f99aed;
$custom-dark: #000000;
JSON
{
  "hex": "#f268e4",
  "rgb": {
    "r": 242,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 306.087,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72888,
    "c": 0.21986,
    "h": 331.7
  },
  "luminance": 0.34379
}

Semantic roles & 50–950 ramp

primary
#F268E4
secondary
#C6F0CA
accent
#E11B05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180F16
muted
#867E84

Preview Lab

Preview with #F268E4

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

Preview Lab → · Contrast checker → · Palette generator →

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