#F064E5#F064E5

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

Color values

HEX#F064E5
RGBrgb(240, 100, 229)
HSLhsl(305, 82%, 67%)
HSVhsv(305, 58%, 94%)
CMYKcmyk(0%, 58.3%, 4.6%, 5.9%)
CIE-LABlab(64.40, 69.17, -40.07)
CIE-LCHlch(64.40, 79.93, 329.92°)
OKLaboklab(72.21% 0.1965 -0.1098)
OKLCHoklch(72.21% 0.225 330.8)
XYZxyz(54.6349, 33.3005, 77.6636)
Luminance0.3330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064E5 #64F06F
analogous
#B564F0 #F064E5 #F0649F
triadic
#F064E5 #E5F064 #64E5F0
tetradic
#F064E5 #F0B564 #64F06F #649FF0
square
#F064E5 #F0B564 #64F06F #649FF0
split-complementary
#F064E5 #9FF064 #64F0B5
monochromatic
#C613B8 #EB2CDC #F064E5 #F59CEE #FBD4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F064E5#FFFFFF#000000##000000
##F064E51.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)
#5C90E9
Deuteranopia (green-blind)
#89A3E1
Tritanopia (blue-blind)
#F9719C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f064e5;
/* rgb */ color: rgb(240, 100, 229);
/* oklch */ color: oklch(72.2% 0.225 330.8);
Tailwind
colors: {
  custom: {
    50: '#f898ed',
    500: '#f064e5',
    950: '#000000',
  },
}
SCSS
$custom: #f064e5;
$custom-light: #f898ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f064e5",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 229
  },
  "hsl": {
    "h": 304.714,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72215,
    "c": 0.22509,
    "h": 330.8
  },
  "luminance": 0.33297
}

Semantic roles & 50–950 ramp

primary
#F064E5
secondary
#C1EEC5
accent
#DF1807
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F064E5

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

Preview Lab → · Contrast checker → · Palette generator →

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