#FC7FEB#FC7FEB

#FC7FEB is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.3% C 0.197 H 332.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#FC7FEB
RGBrgb(252, 127, 235)
HSLhsl(308, 95%, 74%)
HSVhsv(308, 50%, 99%)
CMYKcmyk(0%, 49.6%, 6.7%, 1.2%)
CIE-LABlab(70.79, 61.25, -33.33)
CIE-LCHlch(70.79, 69.73, 331.44°)
OKLaboklab(77.33% 0.1753 -0.0906)
OKLCHoklch(77.33% 0.197 332.7)
XYZxyz(62.7294, 41.8764, 83.3601)
Luminance0.4187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7FEB #7FFC90
analogous
#CF7FFC #FC7FEB #FC7FAD
triadic
#FC7FEB #EBFC7F #7FEBFC
tetradic
#FC7FEB #FCCF7F #7FFC90 #7FADFC
square
#FC7FEB #FCCF7F #7FFC90 #7FADFC
split-complementary
#FC7FEB #ADFC7F #7FFCCF
monochromatic
#F907D8 #FB43E2 #FC7FEB #FDBBF4 #FEE1FA

Accessibility & contrast

On white

2.24
#FC7FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#FC7FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7FEB
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7FEB#FFFFFF#000000##000000
##FC7FEB1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EF
Deuteranopia (green-blind)
#A0B4E7
Tritanopia (blue-blind)
#FF87AA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7feb;
/* rgb */ color: rgb(252, 127, 235);
/* oklch */ color: oklch(77.3% 0.197 332.7);
Tailwind
colors: {
  custom: {
    50: '#ffa8f1',
    500: '#fc7feb',
    950: '#000000',
  },
}
SCSS
$custom: #fc7feb;
$custom-light: #ffa8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7feb",
  "rgb": {
    "r": 252,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 308.16,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77329,
    "c": 0.19732,
    "h": 332.7
  },
  "luminance": 0.41872
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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