#F062EF#F062EF

#F062EF is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 72.5% C 0.236 H 327.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#F062EF
RGBrgb(240, 98, 239)
HSLhsl(300, 83%, 66%)
HSVhsv(300, 59%, 94%)
CMYKcmyk(0%, 59.2%, 0.4%, 5.9%)
CIE-LABlab(64.56, 71.63, -45.38)
CIE-LCHlch(64.56, 84.79, 327.65°)
OKLaboklab(72.48% 0.1998 -0.1251)
OKLCHoklch(72.48% 0.236 327.9)
XYZxyz(55.8821, 33.4962, 85.1667)
Luminance0.3349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062EF #62F063
analogous
#AA62F0 #F062EF #F062A8
triadic
#F062EF #EFF062 #62EFF0
tetradic
#F062EF #F0AA62 #62F063 #62A8F0
square
#F062EF #F0AA62 #62F063 #62A8F0
split-complementary
#F062EF #A8F062 #62F0AA
monochromatic
#C513C4 #EB2AE9 #F062EF #F59AF5 #FBD2FA

Accessibility & contrast

On white

2.73
#F062EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#F062EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062EF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062EF#FFFFFF#000000##000000
##F062EF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#83A3EB
Tritanopia (blue-blind)
#F773A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f062ef;
/* rgb */ color: rgb(240, 98, 239);
/* oklch */ color: oklch(72.5% 0.236 327.9);
Tailwind
colors: {
  custom: {
    50: '#f897f5',
    500: '#f062ef',
    950: '#000000',
  },
}
SCSS
$custom: #f062ef;
$custom-light: #f897f5;
$custom-dark: #000000;
JSON
{
  "hex": "#f062ef",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 300.423,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.7248,
    "c": 0.23578,
    "h": 327.9
  },
  "luminance": 0.33493
}

Semantic roles & 50–950 ramp

primary
#F062EF
secondary
#C0EEC0
accent
#DF0807
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F062EF

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

Preview Lab → · Contrast checker → · Palette generator →

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