#F062DB#F062DB

#F062DB is a light, highly saturated purple. Relative luminance 0.324; OKLCH L 71.5% C 0.220 H 333.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#F062DB
RGBrgb(240, 98, 219)
HSLhsl(309, 83%, 66%)
HSVhsv(309, 59%, 94%)
CMYKcmyk(0%, 59.2%, 8.8%, 5.9%)
CIE-LABlab(63.66, 68.43, -35.65)
CIE-LCHlch(63.66, 77.16, 332.48°)
OKLaboklab(71.52% 0.1976 -0.0972)
OKLCHoklch(71.52% 0.22 333.8)
XYZxyz(53.0892, 32.3791, 70.4577)
Luminance0.3237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062DB #62F077
analogous
#BE62F0 #F062DB #F06294
triadic
#F062DB #DBF062 #62DBF0
tetradic
#F062DB #F0BE62 #62F077 #6294F0
square
#F062DB #F0BE62 #62F077 #6294F0
split-complementary
#F062DB #94F062 #62F0BE
monochromatic
#C513AA #EB2ACE #F062DB #F59AE8 #FBD2F5

Accessibility & contrast

On white

2.81
#F062DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#F062DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062DB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062DB#FFFFFF#000000##000000
##F062DB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDF
Deuteranopia (green-blind)
#8CA2D7
Tritanopia (blue-blind)
#FA6C96
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f062db;
/* rgb */ color: rgb(240, 98, 219);
/* oklch */ color: oklch(71.5% 0.220 333.8);
Tailwind
colors: {
  custom: {
    50: '#f896e6',
    500: '#f062db',
    950: '#000000',
  },
}
SCSS
$custom: #f062db;
$custom-light: #f896e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f062db",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 308.873,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71524,
    "c": 0.22022,
    "h": 333.8
  },
  "luminance": 0.32375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F062DB

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

Preview Lab → · Contrast checker → · Palette generator →

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