#F240FF#F240FF

#F240FF is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 70.6% C 0.287 H 325.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#F240FF
RGBrgb(242, 64, 255)
HSLhsl(296, 100%, 63%)
HSVhsv(296, 75%, 100%)
CMYKcmyk(5.1%, 74.9%, 0%, 0%)
CIE-LABlab(61.45, 86.56, -59.14)
CIE-LCHlch(61.45, 104.83, 325.66°)
OKLaboklab(70.57% 0.2355 -0.1648)
OKLCHoklch(70.57% 0.287 325)
XYZxyz(56.5000, 29.7678, 97.3582)
Luminance0.2976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F240FF #4DFF40
analogous
#9240FF #F240FF #FF40AD
triadic
#F240FF #FFF240 #40FFF2
tetradic
#F240FF #FF9240 #4DFF40 #40ADFF
square
#F240FF #FF9240 #4DFF40 #40ADFF
split-complementary
#F240FF #ADFF40 #40FF92
monochromatic
#B700C5 #EE03FF #F240FF #F67DFF #FABAFF

Accessibility & contrast

On white

3.02
#F240FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#F240FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F240FF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F240FF#FFFFFF#000000##000000
##F240FF1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#699CFB
Tritanopia (blue-blind)
#F7639E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f240ff;
/* rgb */ color: rgb(242, 64, 255);
/* oklch */ color: oklch(70.6% 0.287 325.0);
Tailwind
colors: {
  custom: {
    50: '#fb87ff',
    500: '#f240ff',
    950: '#000000',
  },
}
SCSS
$custom: #f240ff;
$custom-light: #fb87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#f240ff",
  "rgb": {
    "r": 242,
    "g": 64,
    "b": 255
  },
  "hsl": {
    "h": 295.916,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.70569,
    "c": 0.28739,
    "h": 325
  },
  "luminance": 0.29764
}

Semantic roles & 50–950 ramp

primary
#F240FF
secondary
#AFF0AB
accent
#E60010
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#180D18
muted
#867E86

Preview Lab

Preview with #F240FF

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

Preview Lab → · Contrast checker → · Palette generator →

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