#F060F2#F060F2

#F060F2 is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 72.4% C 0.241 H 327.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#F060F2
RGBrgb(240, 96, 242)
HSLhsl(299, 85%, 66%)
HSVhsv(299, 60%, 95%)
CMYKcmyk(0.8%, 60.3%, 0%, 5.1%)
CIE-LABlab(64.41, 72.94, -47.28)
CIE-LCHlch(64.41, 86.92, 327.05°)
OKLaboklab(72.42% 0.2024 -0.1306)
OKLCHoklch(72.42% 0.241 327.2)
XYZxyz(56.1441, 33.3054, 87.4586)
Luminance0.3330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F060F2 #62F260
analogous
#A760F2 #F060F2 #F260AB
triadic
#F060F2 #F2F060 #60F2F0
tetradic
#F060F2 #F2A760 #62F260 #60ABF2
square
#F060F2 #F2A760 #62F260 #60ABF2
split-complementary
#F060F2 #ABF260 #60F2A7
monochromatic
#C510C7 #EB27ED #F060F2 #F599F7 #FBD1FB

Accessibility & contrast

On white

2.74
#F060F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#F060F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F060F2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F060F2#FFFFFF#000000##000000
##F060F21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#81A3EE
Tritanopia (blue-blind)
#F773A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f060f2;
/* rgb */ color: rgb(240, 96, 242);
/* oklch */ color: oklch(72.4% 0.241 327.2);
Tailwind
colors: {
  custom: {
    50: '#f896f7',
    500: '#f060f2',
    950: '#000000',
  },
}
SCSS
$custom: #f060f2;
$custom-light: #f896f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f060f2",
  "rgb": {
    "r": 240,
    "g": 96,
    "b": 242
  },
  "hsl": {
    "h": 299.178,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.72416,
    "c": 0.24085,
    "h": 327.2
  },
  "luminance": 0.33302
}

Semantic roles & 50–950 ramp

primary
#F060F2
secondary
#C0EFBF
accent
#E10407
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F060F2

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

Preview Lab → · Contrast checker → · Palette generator →

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