#F268DF#F268DF

#F268DF is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.7% C 0.216 H 333.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#F268DF
RGBrgb(242, 104, 223)
HSLhsl(308, 84%, 68%)
HSVhsv(308, 57%, 95%)
CMYKcmyk(0%, 57%, 7.9%, 5.1%)
CIE-LABlab(65.05, 67.02, -35.70)
CIE-LCHlch(65.05, 75.93, 331.96°)
OKLaboklab(72.66% 0.1928 -0.0973)
OKLCHoklch(72.66% 0.216 333.2)
XYZxyz(54.8876, 34.1096, 73.4906)
Luminance0.3411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F268DF #68F27B
analogous
#C068F2 #F268DF #F2689A
triadic
#F268DF #DFF268 #68DFF2
tetradic
#F268DF #F2C068 #68F27B #689AF2
square
#F268DF #F2C068 #68F27B #689AF2
split-complementary
#F268DF #9AF268 #68F2C0
monochromatic
#CE12B4 #ED30D3 #F268DF #F7A0EB #FCD9F7

Accessibility & contrast

On white

2.69
#F268DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#F268DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F268DF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F268DF#FFFFFF#000000##000000
##F268DF1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#90A5DB
Tritanopia (blue-blind)
#FC729A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f268df;
/* rgb */ color: rgb(242, 104, 223);
/* oklch */ color: oklch(72.7% 0.216 333.2);
Tailwind
colors: {
  custom: {
    50: '#f99ae9',
    500: '#f268df',
    950: '#000000',
  },
}
SCSS
$custom: #f268df;
$custom-light: #f99ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#f268df",
  "rgb": {
    "r": 242,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 308.261,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72659,
    "c": 0.21599,
    "h": 333.2
  },
  "luminance": 0.34106
}

Semantic roles & 50–950 ramp

primary
#F268DF
secondary
#C6F0CB
accent
#E12305
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F268DF

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

Preview Lab → · Contrast checker → · Palette generator →

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