#F062E7#F062E7

#F062E7 is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 72.1% C 0.229 H 330.2°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#F062E7
RGBrgb(240, 98, 231)
HSLhsl(304, 83%, 66%)
HSVhsv(304, 59%, 94%)
CMYKcmyk(0%, 59.2%, 3.7%, 5.9%)
CIE-LABlab(64.19, 70.32, -41.52)
CIE-LCHlch(64.19, 81.67, 329.44°)
OKLaboklab(72.09% 0.1991 -0.114)
OKLCHoklch(72.09% 0.229 330.2)
XYZxyz(54.7263, 33.0339, 79.0795)
Luminance0.3303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062E7 #62F06B
analogous
#B262F0 #F062E7 #F062A0
triadic
#F062E7 #E7F062 #62E7F0
tetradic
#F062E7 #F0B262 #62F06B #62A0F0
square
#F062E7 #F0B262 #62F06B #62A0F0
split-complementary
#F062E7 #A0F062 #62F0B2
monochromatic
#C513BA #EB2ADE #F062E7 #F59AF0 #FBD2F8

Accessibility & contrast

On white

2.76
#F062E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#F062E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062E7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062E7#FFFFFF#000000##000000
##F062E71.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#588FEB
Deuteranopia (green-blind)
#87A3E3
Tritanopia (blue-blind)
#F8709C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f062e7;
/* rgb */ color: rgb(240, 98, 231);
/* oklch */ color: oklch(72.1% 0.229 330.2);
Tailwind
colors: {
  custom: {
    50: '#f896ef',
    500: '#f062e7',
    950: '#000000',
  },
}
SCSS
$custom: #f062e7;
$custom-light: #f896ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f062e7",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 303.803,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.72088,
    "c": 0.22942,
    "h": 330.2
  },
  "luminance": 0.3303
}

Semantic roles & 50–950 ramp

primary
#F062E7
secondary
#C0EEC3
accent
#DF1407
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F062E7

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

Preview Lab → · Contrast checker → · Palette generator →

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