#F062E5#F062E5

#F062E5 is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 72.0% C 0.228 H 330.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#F062E5
RGBrgb(240, 98, 229)
HSLhsl(305, 83%, 66%)
HSVhsv(305, 59%, 94%)
CMYKcmyk(0%, 59.2%, 4.6%, 5.9%)
CIE-LABlab(64.10, 70.00, -40.55)
CIE-LCHlch(64.10, 80.90, 329.92°)
OKLaboklab(71.99% 0.1989 -0.1112)
OKLCHoklch(71.99% 0.228 330.8)
XYZxyz(54.4454, 32.9216, 77.6004)
Luminance0.3292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F062E5 #62F06D
analogous
#B462F0 #F062E5 #F0629E
triadic
#F062E5 #E5F062 #62E5F0
tetradic
#F062E5 #F0B462 #62F06D #629EF0
square
#F062E5 #F0B462 #62F06D #629EF0
split-complementary
#F062E5 #9EF062 #62F0B4
monochromatic
#C513B7 #EB2ADC #F062E5 #F59AEE #FBD2F8

Accessibility & contrast

On white

2.77
#F062E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#F062E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F062E5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F062E5#FFFFFF#000000##000000
##F062E51.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#598FE9
Deuteranopia (green-blind)
#88A2E1
Tritanopia (blue-blind)
#F9709B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f062e5;
/* rgb */ color: rgb(240, 98, 229);
/* oklch */ color: oklch(72.0% 0.228 330.8);
Tailwind
colors: {
  custom: {
    50: '#f896ed',
    500: '#f062e5',
    950: '#000000',
  },
}
SCSS
$custom: #f062e5;
$custom-light: #f896ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f062e5",
  "rgb": {
    "r": 240,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 304.648,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71992,
    "c": 0.22785,
    "h": 330.8
  },
  "luminance": 0.32918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F062E5

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

Preview Lab → · Contrast checker → · Palette generator →

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