#F268F2#F268F2

#F268F2 is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.6% C 0.231 H 327.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#F268F2
RGBrgb(242, 104, 242)
HSLhsl(300, 84%, 68%)
HSVhsv(300, 57%, 95%)
CMYKcmyk(0%, 57%, 0%, 5.1%)
CIE-LABlab(65.90, 70.10, -44.91)
CIE-LCHlch(65.90, 83.25, 327.35°)
OKLaboklab(73.56% 0.1951 -0.1238)
OKLCHoklch(73.56% 0.231 327.6)
XYZxyz(57.5944, 35.1923, 87.7464)
Luminance0.3519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F268F2 #68F268
analogous
#AD68F2 #F268F2 #F268AD
triadic
#F268F2 #F2F268 #68F2F2
tetradic
#F268F2 #F2AD68 #68F268 #68ADF2
square
#F268F2 #F2AD68 #68F268 #68ADF2
split-complementary
#F268F2 #ADF268 #68F2AD
monochromatic
#CE12CE #ED30ED #F268F2 #F7A0F7 #FCD9FC

Accessibility & contrast

On white

2.61
#F268F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#F268F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F268F2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F268F2#FFFFFF#000000##000000
##F268F21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5995F6
Deuteranopia (green-blind)
#87A7EE
Tritanopia (blue-blind)
#F979A4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f268f2;
/* rgb */ color: rgb(242, 104, 242);
/* oklch */ color: oklch(73.6% 0.231 327.6);
Tailwind
colors: {
  custom: {
    50: '#f99af7',
    500: '#f268f2',
    950: '#000000',
  },
}
SCSS
$custom: #f268f2;
$custom-light: #f99af7;
$custom-dark: #000000;
JSON
{
  "hex": "#f268f2",
  "rgb": {
    "r": 242,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.73557,
    "c": 0.23107,
    "h": 327.6
  },
  "luminance": 0.35189
}

Semantic roles & 50–950 ramp

primary
#F268F2
secondary
#C6F0C6
accent
#E10505
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180F17
muted
#867E85

Preview Lab

Preview with #F268F2

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

Preview Lab → · Contrast checker → · Palette generator →

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