#F064E1#F064E1

#F064E1 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 72.0% C 0.222 H 332.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#F064E1
RGBrgb(240, 100, 225)
HSLhsl(306, 82%, 67%)
HSVhsv(306, 58%, 94%)
CMYKcmyk(0%, 58.3%, 6.3%, 5.9%)
CIE-LABlab(64.23, 68.53, -38.12)
CIE-LCHlch(64.23, 78.42, 330.92°)
OKLaboklab(72.03% 0.196 -0.1043)
OKLCHoklch(72.03% 0.222 332)
XYZxyz(54.0829, 33.0797, 74.7561)
Luminance0.3308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064E1 #64F073
analogous
#B964F0 #F064E1 #F0649B
triadic
#F064E1 #E1F064 #64E1F0
tetradic
#F064E1 #F0B964 #64F073 #649BF0
square
#F064E1 #F0B964 #64F073 #649BF0
split-complementary
#F064E1 #9BF064 #64F0B9
monochromatic
#C613B3 #EB2CD6 #F064E1 #F59CEC #FBD4F7

Accessibility & contrast

On white

2.76
#F064E1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#F064E1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F064E1
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F064E1#FFFFFF#000000##000000
##F064E11.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8FE5
Deuteranopia (green-blind)
#8BA3DD
Tritanopia (blue-blind)
#F9709A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f064e1;
/* rgb */ color: rgb(240, 100, 225);
/* oklch */ color: oklch(72.0% 0.222 332.0);
Tailwind
colors: {
  custom: {
    50: '#f897eb',
    500: '#f064e1',
    950: '#000000',
  },
}
SCSS
$custom: #f064e1;
$custom-light: #f897eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f064e1",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 306.429,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72027,
    "c": 0.22198,
    "h": 332
  },
  "luminance": 0.33076
}

Semantic roles & 50–950 ramp

primary
#F064E1
secondary
#C1EEC6
accent
#DF1E07
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F064E1

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

Preview Lab → · Contrast checker → · Palette generator →

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