#F56AFB#F56AFB

#F56AFB is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.6% C 0.237 H 326.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#F56AFB
RGBrgb(245, 106, 251)
HSLhsl(298, 95%, 70%)
HSVhsv(298, 58%, 98%)
CMYKcmyk(2.4%, 57.8%, 0%, 1.6%)
CIE-LABlab(67.04, 71.50, -48.04)
CIE-LCHlch(67.04, 86.14, 326.10°)
OKLaboklab(74.61% 0.1967 -0.1328)
OKLCHoklch(74.61% 0.237 326)
XYZxyz(60.2216, 36.6891, 95.1578)
Luminance0.3669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56AFB #70FB6A
analogous
#AC6AFB #F56AFB #FB6AB9
triadic
#F56AFB #FBF56A #6AFBF5
tetradic
#F56AFB #FBAC6A #70FB6A #6AB9FB
square
#F56AFB #FBAC6A #70FB6A #6AB9FB
split-complementary
#F56AFB #B9FB6A #6AFBAC
monochromatic
#DB06E4 #F12EF9 #F56AFB #F9A6FD #FDE1FE

Accessibility & contrast

On white

2.52
#F56AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#F56AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56AFB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56AFB#FFFFFF#000000##000000
##F56AFB1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#FB7DA9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f56afb;
/* rgb */ color: rgb(245, 106, 251);
/* oklch */ color: oklch(74.6% 0.237 326.0);
Tailwind
colors: {
  custom: {
    50: '#fc9cfd',
    500: '#f56afb',
    950: '#000000',
  },
}
SCSS
$custom: #f56afb;
$custom-light: #fc9cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#f56afb",
  "rgb": {
    "r": 245,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 297.517,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.74614,
    "c": 0.23733,
    "h": 326
  },
  "luminance": 0.36686
}

Semantic roles & 50–950 ramp

primary
#F56AFB
secondary
#CEF5CC
accent
#E60009
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F56AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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