#F562E7#F562E7

#F562E7 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.8% C 0.232 H 331.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#F562E7
RGBrgb(245, 98, 231)
HSLhsl(306, 88%, 67%)
HSVhsv(306, 60%, 96%)
CMYKcmyk(0%, 60%, 5.7%, 3.9%)
CIE-LABlab(64.90, 71.57, -40.35)
CIE-LCHlch(64.90, 82.17, 330.58°)
OKLaboklab(72.75% 0.2043 -0.1105)
OKLCHoklch(72.75% 0.232 331.6)
XYZxyz(56.4475, 33.9214, 79.1602)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F562E7 #62F570
analogous
#B962F5 #F562E7 #F5629E
triadic
#F562E7 #E7F562 #62E7F5
tetradic
#F562E7 #F5B962 #62F570 #629EF5
square
#F562E7 #F5B962 #62F570 #629EF5
split-complementary
#F562E7 #9EF562 #62F5B9
monochromatic
#CF0DBD #F128DE #F562E7 #F99CF0 #FCD5F9

Accessibility & contrast

On white

2.70
#F562E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#F562E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F562E7
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F562E7#FFFFFF#000000##000000
##F562E71.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B90EB
Deuteranopia (green-blind)
#8BA5E3
Tritanopia (blue-blind)
#FE6F9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f562e7;
/* rgb */ color: rgb(245, 98, 231);
/* oklch */ color: oklch(72.8% 0.232 331.6);
Tailwind
colors: {
  custom: {
    50: '#fc97ef',
    500: '#f562e7',
    950: '#000000',
  },
}
SCSS
$custom: #f562e7;
$custom-light: #fc97ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f562e7",
  "rgb": {
    "r": 245,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 305.714,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.7275,
    "c": 0.23229,
    "h": 331.6
  },
  "luminance": 0.33917
}

Semantic roles & 50–950 ramp

primary
#F562E7
secondary
#C2F1C7
accent
#E51701
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F562E7

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

Preview Lab → · Contrast checker → · Palette generator →

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