#F56CEB#F56CEB

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

Color values

HEX#F56CEB
RGBrgb(245, 108, 235)
HSLhsl(304, 87%, 69%)
HSVhsv(304, 56%, 96%)
CMYKcmyk(0%, 55.9%, 4.1%, 3.9%)
CIE-LABlab(66.63, 67.98, -39.87)
CIE-LCHlch(66.63, 78.81, 329.61°)
OKLaboklab(74.07% 0.1926 -0.1092)
OKLCHoklch(74.07% 0.221 330.4)
XYZxyz(58.0137, 36.1396, 82.5012)
Luminance0.3614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F56CEB #6CF576
analogous
#BB6CF5 #F56CEB #F56CA6
triadic
#F56CEB #EBF56C #6CEBF5
tetradic
#F56CEB #F5BB6C #6CF576 #6CA6F5
square
#F56CEB #F5BB6C #6CF576 #6CA6F5
split-complementary
#F56CEB #A6F56C #6CF5BB
monochromatic
#D80FC9 #F133E3 #F56CEB #F9A5F3 #FDDFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F56CEB#FFFFFF#000000##000000
##F56CEB1.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)
#6496EF
Deuteranopia (green-blind)
#8FA9E7
Tritanopia (blue-blind)
#FD79A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f56ceb;
/* rgb */ color: rgb(245, 108, 235);
/* oklch */ color: oklch(74.1% 0.221 330.4);
Tailwind
colors: {
  custom: {
    50: '#fb9df2',
    500: '#f56ceb',
    950: '#000000',
  },
}
SCSS
$custom: #f56ceb;
$custom-light: #fb9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#f56ceb",
  "rgb": {
    "r": 245,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 304.38,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.7407,
    "c": 0.22145,
    "h": 330.4
  },
  "luminance": 0.36136
}

Semantic roles & 50–950 ramp

primary
#F56CEB
secondary
#CAF2CD
accent
#E41202
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #F56CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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