#F56AFC#F56AFC

#F56AFC is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.7% C 0.238 H 325.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#F56AFC
RGBrgb(245, 106, 252)
HSLhsl(297, 96%, 70%)
HSVhsv(297, 58%, 99%)
CMYKcmyk(2.8%, 57.9%, 0%, 1.2%)
CIE-LABlab(67.09, 71.67, -48.51)
CIE-LCHlch(67.09, 86.55, 325.91°)
OKLaboklab(74.66% 0.1968 -0.1341)
OKLCHoklch(74.66% 0.238 325.7)
XYZxyz(60.3796, 36.7524, 95.9902)
Luminance0.3675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56AFC #71FC6A
analogous
#AC6AFC #F56AFC #FC6ABA
triadic
#F56AFC #FCF56A #6AFCF5
tetradic
#F56AFC #FCAC6A #71FC6A #6ABAFC
square
#F56AFC #FCAC6A #71FC6A #6ABAFC
split-complementary
#F56AFC #BAFC6A #6AFCAC
monochromatic
#DC05E7 #F12EFB #F56AFC #F9A6FD #FDE1FE

Accessibility & contrast

On white

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

On black

8.35
#F56AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56AFC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56AFC#FFFFFF#000000##000000
##F56AFC1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#86A9F8
Tritanopia (blue-blind)
#FB7DAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f56afc;
/* rgb */ color: rgb(245, 106, 252);
/* oklch */ color: oklch(74.7% 0.238 325.7);
Tailwind
colors: {
  custom: {
    50: '#fc9cfe',
    500: '#f56afc',
    950: '#000000',
  },
}
SCSS
$custom: #f56afc;
$custom-light: #fc9cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#f56afc",
  "rgb": {
    "r": 245,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 297.123,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74664,
    "c": 0.23816,
    "h": 325.7
  },
  "luminance": 0.36749
}

Semantic roles & 50–950 ramp

primary
#F56AFC
secondary
#CFF5CD
accent
#E6000B
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F18
muted
#867F86

Preview Lab

Preview with #F56AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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