#FB7CEA#FB7CEA

#FB7CEA is a light, highly saturated purple. Relative luminance 0.409; OKLCH L 76.8% C 0.201 H 332.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#FB7CEA
RGBrgb(251, 124, 234)
HSLhsl(308, 94%, 74%)
HSVhsv(308, 51%, 98%)
CMYKcmyk(0%, 50.6%, 6.8%, 1.6%)
CIE-LABlab(70.08, 62.21, -33.88)
CIE-LCHlch(70.08, 70.84, 331.43°)
OKLaboklab(76.77% 0.1781 -0.0922)
OKLCHoklch(76.77% 0.201 332.6)
XYZxyz(61.8424, 40.8691, 82.4572)
Luminance0.4087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CEA #7CFB8D
analogous
#CC7CFB #FB7CEA #FB7CAA
triadic
#FB7CEA #EAFB7C #7CEAFB
tetradic
#FB7CEA #FBCC7C #7CFB8D #7CAAFB
square
#FB7CEA #FBCC7C #7CFB8D #7CAAFB
split-complementary
#FB7CEA #AAFB7C #7CFBCC
monochromatic
#F507D5 #F941E0 #FB7CEA #FDB7F4 #FEE1FA

Accessibility & contrast

On white

2.29
#FB7CEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#FB7CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CEA
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CEA#FFFFFF#000000##000000
##FB7CEA1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#9EB2E6
Tritanopia (blue-blind)
#FF85A8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fb7cea;
/* rgb */ color: rgb(251, 124, 234);
/* oklch */ color: oklch(76.8% 0.201 332.6);
Tailwind
colors: {
  custom: {
    50: '#ffa6f1',
    500: '#fb7cea',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cea;
$custom-light: #ffa6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cea",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 308.031,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76769,
    "c": 0.20052,
    "h": 332.6
  },
  "luminance": 0.40865
}

Semantic roles & 50–950 ramp

primary
#FB7CEA
secondary
#D5F6D9
accent
#E61F00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB7CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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