#F56BE7#F56BE7

#F56BE7 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 73.8% C 0.220 H 331.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#F56BE7
RGBrgb(245, 107, 231)
HSLhsl(306, 87%, 69%)
HSVhsv(306, 56%, 96%)
CMYKcmyk(0%, 56.3%, 5.7%, 3.9%)
CIE-LABlab(66.29, 67.77, -38.18)
CIE-LCHlch(66.29, 77.79, 330.61°)
OKLaboklab(73.77% 0.1934 -0.1044)
OKLCHoklch(73.77% 0.22 331.6)
XYZxyz(57.3375, 35.7013, 79.4569)
Luminance0.3570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56BE7 #6BF579
analogous
#BE6BF5 #F56BE7 #F56BA2
triadic
#F56BE7 #E7F56B #6BE7F5
tetradic
#F56BE7 #F5BE6B #6BF579 #6BA2F5
square
#F56BE7 #F5BE6B #6BF579 #6BA2F5
split-complementary
#F56BE7 #A2F56B #6BF5BE
monochromatic
#D70FC3 #F132DE #F56BE7 #F9A4F0 #FDDEFA

Accessibility & contrast

On white

2.58
#F56BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#F56BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F56BE7
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F56BE7#FFFFFF#000000##000000
##F56BE71.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6595EB
Deuteranopia (green-blind)
#90A8E3
Tritanopia (blue-blind)
#FE779F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f56be7;
/* rgb */ color: rgb(245, 107, 231);
/* oklch */ color: oklch(73.8% 0.220 331.6);
Tailwind
colors: {
  custom: {
    50: '#fb9cef',
    500: '#f56be7',
    950: '#000000',
  },
}
SCSS
$custom: #f56be7;
$custom-light: #fb9cef;
$custom-dark: #000000;
JSON
{
  "hex": "#f56be7",
  "rgb": {
    "r": 245,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 306.087,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.73767,
    "c": 0.21974,
    "h": 331.6
  },
  "luminance": 0.35697
}

Semantic roles & 50–950 ramp

primary
#F56BE7
secondary
#CAF2CE
accent
#E41902
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F56BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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