#FC7BFC#FC7BFC

#FC7BFC is a light, highly saturated purple. Relative luminance 0.419; OKLCH L 77.6% C 0.218 H 327.4°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#FC7BFC
RGBrgb(252, 123, 252)
HSLhsl(300, 96%, 74%)
HSVhsv(300, 51%, 99%)
CMYKcmyk(0%, 51.2%, 0%, 1.2%)
CIE-LABlab(70.80, 65.93, -42.63)
CIE-LCHlch(70.80, 78.51, 327.12°)
OKLaboklab(77.57% 0.1833 -0.1171)
OKLCHoklch(77.57% 0.218 327.4)
XYZxyz(64.7975, 41.8934, 96.7498)
Luminance0.4189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7BFC #7BFC7B
analogous
#BB7BFC #FC7BFC #FC7BBB
triadic
#FC7BFC #FCFC7B #7BFCFC
tetradic
#FC7BFC #FCBB7B #7BFC7B #7BBBFC
square
#FC7BFC #FCBB7B #7BFC7B #7BBBFC
split-complementary
#FC7BFC #BBFC7B #7BFCBB
monochromatic
#F706F7 #FB3FFB #FC7BFC #FDB7FD #FEE1FE

Accessibility & contrast

On white

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

On black

9.38
#FC7BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FC7BFC
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FC7BFC#FFFFFF#000000##000000
##FC7BFC1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#FF89B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7bfc;
/* rgb */ color: rgb(252, 123, 252);
/* oklch */ color: oklch(77.6% 0.218 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa6fe',
    500: '#fc7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #fc7bfc;
$custom-light: #ffa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7bfc",
  "rgb": {
    "r": 252,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 300,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7757,
    "c": 0.21753,
    "h": 327.4
  },
  "luminance": 0.4189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FC7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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