#F240F9#F240F9

#F240F9 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 70.2% C 0.283 H 326.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#F240F9
RGBrgb(242, 64, 249)
HSLhsl(298, 94%, 61%)
HSVhsv(298, 74%, 98%)
CMYKcmyk(2.8%, 74.3%, 0%, 2.4%)
CIE-LABlab(61.12, 85.62, -56.35)
CIE-LCHlch(61.12, 102.50, 326.65°)
OKLaboklab(70.23% 0.2357 -0.1567)
OKLCHoklch(70.23% 0.283 326.4)
XYZxyz(55.5492, 29.3874, 92.3507)
Luminance0.2938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F240F9 #47F940
analogous
#9640F9 #F240F9 #F940A4
triadic
#F240F9 #F9F240 #40F9F2
tetradic
#F240F9 #F99640 #47F940 #40A4F9
square
#F240F9 #F99640 #47F940 #40A4F9
split-complementary
#F240F9 #A4F940 #40F996
monochromatic
#B206B9 #EB08F4 #F240F9 #F67BFB #FAB7FD

Accessibility & contrast

On white

3.05
#F240F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#F240F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F240F9
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F240F9#FFFFFF#000000##000000
##F240F91.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#6D9BF5
Tritanopia (blue-blind)
#F8609B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f240f9;
/* rgb */ color: rgb(242, 64, 249);
/* oklch */ color: oklch(70.2% 0.283 326.4);
Tailwind
colors: {
  custom: {
    50: '#fb87fc',
    500: '#f240f9',
    950: '#000000',
  },
}
SCSS
$custom: #f240f9;
$custom-light: #fb87fc;
$custom-dark: #000000;
JSON
{
  "hex": "#f240f9",
  "rgb": {
    "r": 242,
    "g": 64,
    "b": 249
  },
  "hsl": {
    "h": 297.73,
    "s": 93.909,
    "l": 61.373
  },
  "oklch": {
    "l": 0.70227,
    "c": 0.28304,
    "h": 326.4
  },
  "luminance": 0.29384
}

Semantic roles & 50–950 ramp

primary
#F240F9
secondary
#AAEDA8
accent
#E60009
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #F240F9

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

Preview Lab → · Contrast checker → · Palette generator →

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