#F562F2#F562F2

#F562F2 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 73.3% C 0.241 H 328.5°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#F562F2
RGBrgb(245, 98, 242)
HSLhsl(301, 88%, 67%)
HSVhsv(301, 60%, 96%)
CMYKcmyk(0%, 60%, 1.2%, 3.9%)
CIE-LABlab(65.41, 73.33, -45.66)
CIE-LCHlch(65.41, 86.38, 328.09°)
OKLaboklab(73.28% 0.2054 -0.1258)
OKLCHoklch(73.28% 0.241 328.5)
XYZxyz(58.0502, 34.5625, 87.6009)
Luminance0.3456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F562F2 #62F565
analogous
#AE62F5 #F562F2 #F562A9
triadic
#F562F2 #F2F562 #62F2F5
tetradic
#F562F2 #F5AE62 #62F565 #62A9F5
square
#F562F2 #F5AE62 #62F565 #62A9F5
split-complementary
#F562F2 #A9F562 #62F5AE
monochromatic
#CF0DCB #F128ED #F562F2 #F99CF7 #FCD5FC

Accessibility & contrast

On white

2.65
#F562F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#F562F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F562F2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F562F2#FFFFFF#000000##000000
##F562F21.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#86A6EE
Tritanopia (blue-blind)
#FD74A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f562f2;
/* rgb */ color: rgb(245, 98, 242);
/* oklch */ color: oklch(73.3% 0.241 328.5);
Tailwind
colors: {
  custom: {
    50: '#fc97f7',
    500: '#f562f2',
    950: '#000000',
  },
}
SCSS
$custom: #f562f2;
$custom-light: #fc97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f562f2",
  "rgb": {
    "r": 245,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 301.224,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.73283,
    "c": 0.24085,
    "h": 328.5
  },
  "luminance": 0.34559
}

Semantic roles & 50–950 ramp

primary
#F562F2
secondary
#C2F1C3
accent
#E50601
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F562F2

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

Preview Lab → · Contrast checker → · Palette generator →

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