#FBA7FC#FBA7FC

#FBA7FC is a very light, vivid purple. Relative luminance 0.552; OKLCH L 83.8% C 0.146 H 326.4°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#FBA7FC
RGBrgb(251, 167, 252)
HSLhsl(299, 93%, 82%)
HSVhsv(299, 34%, 99%)
CMYKcmyk(0.4%, 33.7%, 0%, 1.2%)
CIE-LABlab(79.14, 43.94, -29.70)
CIE-LCHlch(79.14, 53.03, 325.94°)
OKLaboklab(83.78% 0.1214 -0.0807)
OKLCHoklch(83.78% 0.146 326.4)
XYZxyz(71.1715, 55.1777, 98.9779)
Luminance0.5517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FBA7FC #A8FCA7
analogous
#D1A7FC #FBA7FC #FCA7D3
triadic
#FBA7FC #FCFBA7 #A7FCFB
tetradic
#FBA7FC #FCD1A7 #A8FCA7 #A7D3FC
square
#FBA7FC #FCD1A7 #A8FCA7 #A7D3FC
split-complementary
#FBA7FC #D3FCA7 #A7FCD1
monochromatic
#F631F8 #F86CFA #FBA7FC #FEE1FE #FEE1FE

Accessibility & contrast

On white

1.74
#FBA7FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#FBA7FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FBA7FC
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FBA7FC#FFFFFF#000000##000000
##FBA7FC1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BDFF
Deuteranopia (green-blind)
#B6C8F9
Tritanopia (blue-blind)
#FFAFC6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #fba7fc;
/* rgb */ color: rgb(251, 167, 252);
/* oklch */ color: oklch(83.8% 0.146 326.4);
Tailwind
colors: {
  custom: {
    50: '#fec2fd',
    500: '#fba7fc',
    950: '#000000',
  },
}
SCSS
$custom: #fba7fc;
$custom-light: #fec2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#fba7fc",
  "rgb": {
    "r": 251,
    "g": 167,
    "b": 252
  },
  "hsl": {
    "h": 299.294,
    "s": 93.407,
    "l": 82.157
  },
  "oklch": {
    "l": 0.83777,
    "c": 0.14575,
    "h": 326.4
  },
  "luminance": 0.55175
}

Semantic roles & 50–950 ramp

primary
#FBA7FC
secondary
#69DF68
accent
#E60003
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#181217
muted
#868285

Preview Lab

Preview with #FBA7FC

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

Preview Lab → · Contrast checker → · Palette generator →

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