#F268DC#F268DC

#F268DC is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.5% C 0.214 H 334.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#F268DC
RGBrgb(242, 104, 220)
HSLhsl(310, 84%, 68%)
HSVhsv(310, 57%, 95%)
CMYKcmyk(0%, 57%, 9.1%, 5.1%)
CIE-LABlab(64.92, 66.55, -34.22)
CIE-LCHlch(64.92, 74.84, 332.79°)
OKLaboklab(72.52% 0.1924 -0.0931)
OKLCHoklch(72.52% 0.214 334.2)
XYZxyz(54.4867, 33.9492, 71.3793)
Luminance0.3394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F268DC #68F27E
analogous
#C368F2 #F268DC #F26897
triadic
#F268DC #DCF268 #68DCF2
tetradic
#F268DC #F2C368 #68F27E #6897F2
square
#F268DC #F2C368 #68F27E #6897F2
split-complementary
#F268DC #97F268 #68F2C3
monochromatic
#CE12B0 #ED30CF #F268DC #F7A0E9 #FCD9F6

Accessibility & contrast

On white

2.70
#F268DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#F268DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F268DC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F268DC#FFFFFF#000000##000000
##F268DC1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E0
Deuteranopia (green-blind)
#91A5D8
Tritanopia (blue-blind)
#FC7199
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f268dc;
/* rgb */ color: rgb(242, 104, 220);
/* oklch */ color: oklch(72.5% 0.214 334.2);
Tailwind
colors: {
  custom: {
    50: '#f99ae7',
    500: '#f268dc',
    950: '#000000',
  },
}
SCSS
$custom: #f268dc;
$custom-light: #f99ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#f268dc",
  "rgb": {
    "r": 242,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 309.565,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72524,
    "c": 0.21371,
    "h": 334.2
  },
  "luminance": 0.33945
}

Semantic roles & 50–950 ramp

primary
#F268DC
secondary
#C6F0CC
accent
#E12805
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F268DC

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

Preview Lab → · Contrast checker → · Palette generator →

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