#F062DF#F062DF

#F062DF is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.7% C 0.223 H 332.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#F062DF
RGBrgb(240, 98, 223)
HSLhsl(307, 83%, 66%)
HSVhsv(307, 59%, 94%)
CMYKcmyk(0%, 59.2%, 7.1%, 5.9%)
CIE-LABlab(63.83, 69.06, -37.62)
CIE-LCHlch(63.83, 78.64, 331.42°)
OKLaboklab(71.71% 0.1982 -0.1028)
OKLCHoklch(71.71% 0.223 332.6)
XYZxyz(53.6222, 32.5923, 73.2644)
Luminance0.3259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062DF #62F073
analogous
#BA62F0 #F062DF #F06298
triadic
#F062DF #DFF062 #62DFF0
tetradic
#F062DF #F0BA62 #62F073 #6298F0
square
#F062DF #F0BA62 #62F073 #6298F0
split-complementary
#F062DF #98F062 #62F0BA
monochromatic
#C513AF #EB2AD4 #F062DF #F59AEA #FBD2F6

Accessibility & contrast

On white

2.79
#F062DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#F062DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062DF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062DF#FFFFFF#000000##000000
##F062DF1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8EE3
Deuteranopia (green-blind)
#8BA2DB
Tritanopia (blue-blind)
#FA6D98
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f062df;
/* rgb */ color: rgb(240, 98, 223);
/* oklch */ color: oklch(71.7% 0.223 332.6);
Tailwind
colors: {
  custom: {
    50: '#f896e9',
    500: '#f062df',
    950: '#000000',
  },
}
SCSS
$custom: #f062df;
$custom-light: #f896e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f062df",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 307.183,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71709,
    "c": 0.22324,
    "h": 332.6
  },
  "luminance": 0.32588
}

Semantic roles & 50–950 ramp

primary
#F062DF
secondary
#C0EEC5
accent
#DF2007
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F062DF

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

Preview Lab → · Contrast checker → · Palette generator →

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