#F56AF2#F56AF2

#F56AF2 is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 74.2% C 0.230 H 328.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#F56AF2
RGBrgb(245, 106, 242)
HSLhsl(301, 87%, 69%)
HSVhsv(301, 57%, 96%)
CMYKcmyk(0%, 56.7%, 1.2%, 3.9%)
CIE-LABlab(66.62, 69.99, -43.75)
CIE-LCHlch(66.62, 82.54, 327.99°)
OKLaboklab(74.17% 0.1959 -0.1204)
OKLCHoklch(74.17% 0.23 328.4)
XYZxyz(58.8365, 36.1351, 87.8630)
Luminance0.3613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56AF2 #6AF56D
analogous
#B36AF5 #F56AF2 #F56AAD
triadic
#F56AF2 #F2F56A #6AF2F5
tetradic
#F56AF2 #F5B36A #6AF56D #6AADF5
square
#F56AF2 #F5B36A #6AF56D #6AADF5
split-complementary
#F56AF2 #ADF56A #6AF5B3
monochromatic
#D60ED2 #F131ED #F56AF2 #F9A3F7 #FDDDFC

Accessibility & contrast

On white

2.55
#F56AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#F56AF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56AF2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56AF2#FFFFFF#000000##000000
##F56AF21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D96F6
Deuteranopia (green-blind)
#8BA9EE
Tritanopia (blue-blind)
#FC7AA5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f56af2;
/* rgb */ color: rgb(245, 106, 242);
/* oklch */ color: oklch(74.2% 0.230 328.4);
Tailwind
colors: {
  custom: {
    50: '#fb9cf7',
    500: '#f56af2',
    950: '#000000',
  },
}
SCSS
$custom: #f56af2;
$custom-light: #fb9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#f56af2",
  "rgb": {
    "r": 245,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 301.295,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7417,
    "c": 0.22993,
    "h": 328.4
  },
  "luminance": 0.36131
}

Semantic roles & 50–950 ramp

primary
#F56AF2
secondary
#C9F2CA
accent
#E40602
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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