#F062DA#F062DA

#F062DA is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.5% C 0.219 H 334.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#F062DA
RGBrgb(240, 98, 218)
HSLhsl(309, 83%, 66%)
HSVhsv(309, 59%, 94%)
CMYKcmyk(0%, 59.2%, 9.2%, 5.9%)
CIE-LABlab(63.61, 68.28, -35.16)
CIE-LCHlch(63.61, 76.80, 332.75°)
OKLaboklab(71.48% 0.1975 -0.0958)
OKLCHoklch(71.48% 0.219 334.1)
XYZxyz(52.9580, 32.3266, 69.7665)
Luminance0.3232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062DA #62F078
analogous
#BF62F0 #F062DA #F06293
triadic
#F062DA #DAF062 #62DAF0
tetradic
#F062DA #F0BF62 #62F078 #6293F0
square
#F062DA #F0BF62 #62F078 #6293F0
split-complementary
#F062DA #93F062 #62F0BF
monochromatic
#C513A9 #EB2ACD #F062DA #F59AE7 #FBD2F4

Accessibility & contrast

On white

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

On black

7.46
#F062DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062DA
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062DA#FFFFFF#000000##000000
##F062DA1.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DDE
Deuteranopia (green-blind)
#8DA2D6
Tritanopia (blue-blind)
#FA6C95
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f062da;
/* rgb */ color: rgb(240, 98, 218);
/* oklch */ color: oklch(71.5% 0.219 334.1);
Tailwind
colors: {
  custom: {
    50: '#f896e6',
    500: '#f062da',
    950: '#000000',
  },
}
SCSS
$custom: #f062da;
$custom-light: #f896e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f062da",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 309.296,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71478,
    "c": 0.21948,
    "h": 334.1
  },
  "luminance": 0.32323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F062DA

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

Preview Lab → · Contrast checker → · Palette generator →

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