#FC7BFE#FC7BFE

#FC7BFE is a light, highly saturated purple. Relative luminance 0.420; OKLCH L 77.7% C 0.219 H 326.9°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#FC7BFE
RGBrgb(252, 123, 254)
HSLhsl(299, 98%, 74%)
HSVhsv(299, 52%, 100%)
CMYKcmyk(0.8%, 51.6%, 0%, 0.4%)
CIE-LABlab(70.89, 66.27, -43.58)
CIE-LCHlch(70.89, 79.32, 326.67°)
OKLaboklab(77.66% 0.1836 -0.1199)
OKLCHoklch(77.66% 0.219 326.9)
XYZxyz(65.1161, 42.0208, 98.4277)
Luminance0.4202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7BFE #7DFE7B
analogous
#BB7BFE #FC7BFE #FE7BBF
triadic
#FC7BFE #FEFC7B #7BFEFC
tetradic
#FC7BFE #FEBB7B #7DFE7B #7BBFFE
square
#FC7BFE #FEBB7B #7DFE7B #7BBFFE
split-complementary
#FC7BFE #BFFE7B #7BFEBB
monochromatic
#F902FD #FB3EFE #FC7BFE #FDB8FE #FEE1FF

Accessibility & contrast

On white

2.23
#FC7BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#FC7BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7BFE
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7BFE#FFFFFF#000000##000000
##FC7BFE1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#FF8AB2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7bfe;
/* rgb */ color: rgb(252, 123, 254);
/* oklch */ color: oklch(77.7% 0.219 326.9);
Tailwind
colors: {
  custom: {
    50: '#ffa6ff',
    500: '#fc7bfe',
    950: '#000000',
  },
}
SCSS
$custom: #fc7bfe;
$custom-light: #ffa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7bfe",
  "rgb": {
    "r": 252,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 299.084,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77663,
    "c": 0.21924,
    "h": 326.9
  },
  "luminance": 0.42017
}

Semantic roles & 50–950 ramp

primary
#FC7BFE
secondary
#D4F7D4
accent
#E60004
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FC7BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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