#FB7CEF#FB7CEF

#FB7CEF is a light, highly saturated purple. Relative luminance 0.412; OKLCH L 77.0% C 0.205 H 331.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#FB7CEF
RGBrgb(251, 124, 239)
HSLhsl(306, 94%, 74%)
HSVhsv(306, 51%, 98%)
CMYKcmyk(0%, 50.6%, 4.8%, 1.6%)
CIE-LABlab(70.29, 63.03, -36.31)
CIE-LCHlch(70.29, 72.74, 330.05°)
OKLaboklab(76.99% 0.179 -0.0991)
OKLCHoklch(76.99% 0.205 331)
XYZxyz(62.5709, 41.1604, 86.2937)
Luminance0.4116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CEF #7CFB88
analogous
#C77CFB #FB7CEF #FB7CAF
triadic
#FB7CEF #EFFB7C #7CEFFB
tetradic
#FB7CEF #FBC77C #7CFB88 #7CAFFB
square
#FB7CEF #FBC77C #7CFB88 #7CAFFB
split-complementary
#FB7CEF #AFFB7C #7CFBC7
monochromatic
#F507DF #F941E8 #FB7CEF #FDB7F6 #FEE1FB

Accessibility & contrast

On white

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

On black

9.23
#FB7CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CEF
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CEF#FFFFFF#000000##000000
##FB7CEF1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A1F3
Deuteranopia (green-blind)
#9CB2EB
Tritanopia (blue-blind)
#FF86AB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7cef;
/* rgb */ color: rgb(251, 124, 239);
/* oklch */ color: oklch(77.0% 0.205 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffa6f4',
    500: '#fb7cef',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cef;
$custom-light: #ffa6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cef",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 305.669,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76987,
    "c": 0.20455,
    "h": 331
  },
  "luminance": 0.41157
}

Semantic roles & 50–950 ramp

primary
#FB7CEF
secondary
#D5F6D8
accent
#E61600
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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