#FC7CEB#FC7CEB

#FC7CEB is a light, highly saturated purple. Relative luminance 0.411; OKLCH L 76.9% C 0.202 H 332.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#FC7CEB
RGBrgb(252, 124, 235)
HSLhsl(308, 96%, 74%)
HSVhsv(308, 51%, 99%)
CMYKcmyk(0%, 50.8%, 6.7%, 1.2%)
CIE-LABlab(70.25, 62.65, -34.15)
CIE-LCHlch(70.25, 71.36, 331.40°)
OKLaboklab(76.94% 0.1793 -0.0929)
OKLCHoklch(76.94% 0.202 332.6)
XYZxyz(62.3477, 41.1130, 83.2328)
Luminance0.4111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7CEB #7CFC8D
analogous
#CD7CFC #FC7CEB #FC7CAB
triadic
#FC7CEB #EBFC7C #7CEBFC
tetradic
#FC7CEB #FCCD7C #7CFC8D #7CABFC
square
#FC7CEB #FCCD7C #7CFC8D #7CABFC
split-complementary
#FC7CEB #ABFC7C #7CFCCD
monochromatic
#F806D8 #FB40E2 #FC7CEB #FDB8F4 #FEE1FA

Accessibility & contrast

On white

2.28
#FC7CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#FC7CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7CEB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7CEB#FFFFFF#000000##000000
##FC7CEB1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EF
Deuteranopia (green-blind)
#9EB2E7
Tritanopia (blue-blind)
#FF85A9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fc7ceb;
/* rgb */ color: rgb(252, 124, 235);
/* oklch */ color: oklch(76.9% 0.202 332.6);
Tailwind
colors: {
  custom: {
    50: '#ffa6f1',
    500: '#fc7ceb',
    950: '#000000',
  },
}
SCSS
$custom: #fc7ceb;
$custom-light: #ffa6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7ceb",
  "rgb": {
    "r": 252,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 307.969,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76935,
    "c": 0.20197,
    "h": 332.6
  },
  "luminance": 0.41109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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