#FC7BEC#FC7BEC

#FC7BEC is a light, highly saturated purple. Relative luminance 0.409; OKLCH L 76.8% C 0.204 H 332.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#FC7BEC
RGBrgb(252, 123, 236)
HSLhsl(307, 96%, 74%)
HSVhsv(307, 51%, 99%)
CMYKcmyk(0%, 51.2%, 6.3%, 1.2%)
CIE-LABlab(70.12, 63.28, -34.91)
CIE-LCHlch(70.12, 72.27, 331.11°)
OKLaboklab(76.85% 0.1808 -0.0951)
OKLCHoklch(76.85% 0.204 332.3)
XYZxyz(62.3679, 40.9215, 83.9543)
Luminance0.4092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7BEC #7BFC8B
analogous
#CB7BFC #FC7BEC #FC7BAB
triadic
#FC7BEC #ECFC7B #7BECFC
tetradic
#FC7BEC #FCCB7B #7BFC8B #7BABFC
square
#FC7BEC #FCCB7B #7BFC8B #7BABFC
split-complementary
#FC7BEC #ABFC7B #7BFCCB
monochromatic
#F706D9 #FB3FE3 #FC7BEC #FDB7F5 #FEE1FB

Accessibility & contrast

On white

2.29
#FC7BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#FC7BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7BEC
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7BEC#FFFFFF#000000##000000
##FC7BEC1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#9DB2E8
Tritanopia (blue-blind)
#FF84A9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fc7bec;
/* rgb */ color: rgb(252, 123, 236);
/* oklch */ color: oklch(76.8% 0.204 332.3);
Tailwind
colors: {
  custom: {
    50: '#ffa6f2',
    500: '#fc7bec',
    950: '#000000',
  },
}
SCSS
$custom: #fc7bec;
$custom-light: #ffa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7bec",
  "rgb": {
    "r": 252,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 307.442,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7685,
    "c": 0.20431,
    "h": 332.3
  },
  "luminance": 0.40917
}

Semantic roles & 50–950 ramp

primary
#FC7BEC
secondary
#D4F7D9
accent
#E61C00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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