#FB7CF2#FB7CF2

#FB7CF2 is a light, highly saturated purple. Relative luminance 0.413; OKLCH L 77.1% C 0.207 H 330.1°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#FB7CF2
RGBrgb(251, 124, 242)
HSLhsl(304, 94%, 74%)
HSVhsv(304, 51%, 98%)
CMYKcmyk(0%, 50.6%, 3.6%, 1.6%)
CIE-LABlab(70.41, 63.52, -37.76)
CIE-LCHlch(70.41, 73.90, 329.27°)
OKLaboklab(77.12% 0.1795 -0.1032)
OKLCHoklch(77.12% 0.207 330.1)
XYZxyz(63.0177, 41.3392, 88.6472)
Luminance0.4133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CF2 #7CFB85
analogous
#C47CFB #FB7CF2 #FB7CB2
triadic
#FB7CF2 #F2FB7C #7CF2FB
tetradic
#FB7CF2 #FBC47C #7CFB85 #7CB2FB
square
#FB7CF2 #FBC47C #7CFB85 #7CB2FB
split-complementary
#FB7CF2 #B2FB7C #7CFBC4
monochromatic
#F507E4 #F941EC #FB7CF2 #FDB7F8 #FEE1FC

Accessibility & contrast

On white

2.27
#FB7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#FB7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CF2
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CF2#FFFFFF#000000##000000
##FB7CF21.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#9AB2EE
Tritanopia (blue-blind)
#FF87AC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7cf2;
/* rgb */ color: rgb(251, 124, 242);
/* oklch */ color: oklch(77.1% 0.207 330.1);
Tailwind
colors: {
  custom: {
    50: '#ffa7f6',
    500: '#fb7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cf2;
$custom-light: #ffa7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cf2",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 304.252,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7712,
    "c": 0.20703,
    "h": 330.1
  },
  "luminance": 0.41335
}

Semantic roles & 50–950 ramp

primary
#FB7CF2
secondary
#D5F6D7
accent
#E61000
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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