#F56BF2#F56BF2

#F56BF2 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.3% C 0.229 H 328.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F56BF2
RGBrgb(245, 107, 242)
HSLhsl(301, 87%, 69%)
HSVhsv(301, 56%, 96%)
CMYKcmyk(0%, 56.3%, 1.2%, 3.9%)
CIE-LABlab(66.78, 69.56, -43.50)
CIE-LCHlch(66.78, 82.04, 327.98°)
OKLaboklab(74.29% 0.1947 -0.1197)
OKLCHoklch(74.29% 0.229 328.4)
XYZxyz(58.9401, 36.3424, 87.8975)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56BF2 #6BF56E
analogous
#B36BF5 #F56BF2 #F56BAD
triadic
#F56BF2 #F2F56B #6BF2F5
tetradic
#F56BF2 #F5B36B #6BF56E #6BADF5
square
#F56BF2 #F5B36B #6BF56E #6BADF5
split-complementary
#F56BF2 #ADF56B #6BF5B3
monochromatic
#D70FD3 #F132ED #F56BF2 #F9A4F7 #FDDEFC

Accessibility & contrast

On white

2.54
#F56BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#F56BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56BF2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56BF2#FFFFFF#000000##000000
##F56BF21.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f56bf2;
/* rgb */ color: rgb(245, 107, 242);
/* oklch */ color: oklch(74.3% 0.229 328.4);
Tailwind
colors: {
  custom: {
    50: '#fb9cf7',
    500: '#f56bf2',
    950: '#000000',
  },
}
SCSS
$custom: #f56bf2;
$custom-light: #fb9cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#f56bf2",
  "rgb": {
    "r": 245,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 301.304,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.74286,
    "c": 0.22852,
    "h": 328.4
  },
  "luminance": 0.36339
}

Semantic roles & 50–950 ramp

primary
#F56BF2
secondary
#CAF2CB
accent
#E40702
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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