#F064F2#F064F2

#F064F2 is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.9% C 0.235 H 327.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#F064F2
RGBrgb(240, 100, 242)
HSLhsl(299, 85%, 67%)
HSVhsv(299, 59%, 95%)
CMYKcmyk(0.8%, 58.7%, 0%, 5.1%)
CIE-LABlab(65.01, 71.30, -46.34)
CIE-LCHlch(65.01, 85.03, 326.98°)
OKLaboklab(72.85% 0.1977 -0.1279)
OKLCHoklch(72.85% 0.236 327.1)
XYZxyz(56.5184, 34.0539, 87.5833)
Luminance0.3405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064F2 #66F264
analogous
#A964F2 #F064F2 #F264AD
triadic
#F064F2 #F2F064 #64F2F0
tetradic
#F064F2 #F2A964 #66F264 #64ADF2
square
#F064F2 #F2A964 #66F264 #64ADF2
split-complementary
#F064F2 #ADF264 #64F2A9
monochromatic
#C811CB #EB2CED #F064F2 #F59CF7 #FBD5FB

Accessibility & contrast

On white

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

On black

7.81
#F064F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F064F2
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F064F2#FFFFFF#000000##000000
##F064F21.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#83A4EE
Tritanopia (blue-blind)
#F676A2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f064f2;
/* rgb */ color: rgb(240, 100, 242);
/* oklch */ color: oklch(72.9% 0.235 327.1);
Tailwind
colors: {
  custom: {
    50: '#f898f7',
    500: '#f064f2',
    950: '#000000',
  },
}
SCSS
$custom: #f064f2;
$custom-light: #f898f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f064f2",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 299.155,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.7285,
    "c": 0.2355,
    "h": 327.1
  },
  "luminance": 0.3405
}

Semantic roles & 50–950 ramp

primary
#F064F2
secondary
#C3EFC2
accent
#E10508
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F064F2

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

Preview Lab → · Contrast checker → · Palette generator →

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