#F064DB#F064DB

#F064DB is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.8% C 0.217 H 333.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#F064DB
RGBrgb(240, 100, 219)
HSLhsl(309, 82%, 67%)
HSVhsv(309, 58%, 94%)
CMYKcmyk(0%, 58.3%, 8.8%, 5.9%)
CIE-LABlab(63.96, 67.59, -35.17)
CIE-LCHlch(63.96, 76.19, 332.51°)
OKLaboklab(71.75% 0.1951 -0.0958)
OKLCHoklch(71.75% 0.217 333.8)
XYZxyz(53.2787, 32.7581, 70.5209)
Luminance0.3275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F064DB #64F079
analogous
#BF64F0 #F064DB #F06495
triadic
#F064DB #DBF064 #64DBF0
tetradic
#F064DB #F0BF64 #64F079 #6495F0
square
#F064DB #F0BF64 #64F079 #6495F0
split-complementary
#F064DB #95F064 #64F0BF
monochromatic
#C613AC #EB2CCE #F064DB #F59CE8 #FBD4F5

Accessibility & contrast

On white

2.78
#F064DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#F064DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F064DB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F064DB#FFFFFF#000000##000000
##F064DB1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#8DA2D7
Tritanopia (blue-blind)
#FA6E97
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f064db;
/* rgb */ color: rgb(240, 100, 219);
/* oklch */ color: oklch(71.8% 0.217 333.8);
Tailwind
colors: {
  custom: {
    50: '#f897e6',
    500: '#f064db',
    950: '#000000',
  },
}
SCSS
$custom: #f064db;
$custom-light: #f897e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f064db",
  "rgb": {
    "r": 240,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 309,
    "s": 82.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71751,
    "c": 0.2174,
    "h": 333.8
  },
  "luminance": 0.32754
}

Semantic roles & 50–950 ramp

primary
#F064DB
secondary
#C1EEC8
accent
#DF2707
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F064DB

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

Preview Lab → · Contrast checker → · Palette generator →

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