#F562E4#F562E4

#F562E4 is a light, highly saturated purple. Relative luminance 0.337; OKLCH L 72.6% C 0.230 H 332.5°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#F562E4
RGBrgb(245, 98, 228)
HSLhsl(307, 88%, 67%)
HSVhsv(307, 60%, 96%)
CMYKcmyk(0%, 60%, 6.9%, 3.9%)
CIE-LABlab(64.77, 71.10, -38.89)
CIE-LCHlch(64.77, 81.05, 331.32°)
OKLaboklab(72.61% 0.204 -0.1064)
OKLCHoklch(72.61% 0.23 332.5)
XYZxyz(56.0275, 33.7534, 76.9479)
Luminance0.3375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F562E4 #62F573
analogous
#BD62F5 #F562E4 #F5629A
triadic
#F562E4 #E4F562 #62E4F5
tetradic
#F562E4 #F5BD62 #62F573 #629AF5
square
#F562E4 #F5BD62 #62F573 #629AF5
split-complementary
#F562E4 #9AF562 #62F5BD
monochromatic
#CF0DB9 #F128DA #F562E4 #F99CEE #FCD5F8

Accessibility & contrast

On white

2.71
#F562E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#F562E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F562E4
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F562E4#FFFFFF#000000##000000
##F562E41.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D90E8
Deuteranopia (green-blind)
#8CA5E0
Tritanopia (blue-blind)
#FF6E9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f562e4;
/* rgb */ color: rgb(245, 98, 228);
/* oklch */ color: oklch(72.6% 0.230 332.5);
Tailwind
colors: {
  custom: {
    50: '#fc97ed',
    500: '#f562e4',
    950: '#000000',
  },
}
SCSS
$custom: #f562e4;
$custom-light: #fc97ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f562e4",
  "rgb": {
    "r": 245,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 306.939,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72608,
    "c": 0.23002,
    "h": 332.5
  },
  "luminance": 0.33749
}

Semantic roles & 50–950 ramp

primary
#F562E4
secondary
#C2F1C8
accent
#E51B01
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F562E4

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

Preview Lab → · Contrast checker → · Palette generator →

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