#FBA7EF#FBA7EF

#FBA7EF is a very light, vivid purple. Relative luminance 0.544; OKLCH L 83.3% C 0.134 H 331.9°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#FBA7EF
RGBrgb(251, 167, 239)
HSLhsl(309, 91%, 82%)
HSVhsv(309, 33%, 98%)
CMYKcmyk(0%, 33.5%, 4.8%, 1.6%)
CIE-LABlab(78.68, 41.65, -23.40)
CIE-LCHlch(78.68, 47.77, 330.67°)
OKLaboklab(83.28% 0.118 -0.063)
OKLCHoklch(83.28% 0.134 331.9)
XYZxyz(69.1815, 54.3817, 88.4972)
Luminance0.5438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBA7EF #A7FBB3
analogous
#DDA7FB #FBA7EF #FBA7C5
triadic
#FBA7EF #EFFBA7 #A7EFFB
tetradic
#FBA7EF #FBDDA7 #A7FBB3 #A7C5FB
square
#FBA7EF #FBDDA7 #A7FBB3 #A7C5FB
split-complementary
#FBA7EF #C5FBA7 #A7FBDD
monochromatic
#F632DA #F86CE4 #FBA7EF #FEE2FA #FEE2FA

Accessibility & contrast

On white

1.77
#FBA7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#FBA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBA7EF
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBA7EF#FFFFFF#000000##000000
##FBA7EF1.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BCF2
Deuteranopia (green-blind)
#BAC7EC
Tritanopia (blue-blind)
#FFACC1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #fba7ef;
/* rgb */ color: rgb(251, 167, 239);
/* oklch */ color: oklch(83.3% 0.134 331.9);
Tailwind
colors: {
  custom: {
    50: '#fec2f4',
    500: '#fba7ef',
    950: '#000000',
  },
}
SCSS
$custom: #fba7ef;
$custom-light: #fec2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fba7ef",
  "rgb": {
    "r": 251,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 308.571,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.83277,
    "c": 0.13379,
    "h": 331.9
  },
  "luminance": 0.54379
}

Semantic roles & 50–950 ramp

primary
#FBA7EF
secondary
#68DE79
accent
#E62100
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181217
muted
#868285

Preview Lab

Preview with #FBA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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