#FC7BFB#FC7BFB

#FC7BFB is a light, highly saturated purple. Relative luminance 0.418; OKLCH L 77.5% C 0.217 H 327.7°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#FC7BFB
RGBrgb(252, 123, 251)
HSLhsl(300, 96%, 74%)
HSVhsv(300, 51%, 99%)
CMYKcmyk(0%, 51.2%, 0.4%, 1.2%)
CIE-LABlab(70.75, 65.76, -42.15)
CIE-LCHlch(70.75, 78.11, 327.34°)
OKLaboklab(77.52% 0.1832 -0.1158)
OKLCHoklch(77.52% 0.217 327.7)
XYZxyz(64.6394, 41.8301, 95.9174)
Luminance0.4183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FC7BFB #7BFC7C
analogous
#BC7BFC #FC7BFB #FC7BBA
triadic
#FC7BFB #FBFC7B #7BFBFC
tetradic
#FC7BFB #FCBC7B #7BFC7C #7BBAFC
square
#FC7BFB #FCBC7B #7BFC7C #7BBAFC
split-complementary
#FC7BFB #BAFC7B #7BFCBC
monochromatic
#F706F5 #FB3FF9 #FC7BFB #FDB7FD #FEE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FC7BFB#FFFFFF#000000##000000
##FC7BFB1.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)
#6FA2FF
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#FF89B0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fc7bfb;
/* rgb */ color: rgb(252, 123, 251);
/* oklch */ color: oklch(77.5% 0.217 327.7);
Tailwind
colors: {
  custom: {
    50: '#ffa6fd',
    500: '#fc7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #fc7bfb;
$custom-light: #ffa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fc7bfb",
  "rgb": {
    "r": 252,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 300.465,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77524,
    "c": 0.21668,
    "h": 327.7
  },
  "luminance": 0.41826
}

Semantic roles & 50–950 ramp

primary
#FC7BFB
secondary
#D4F7D5
accent
#E60200
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FC7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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