#FB7EF3#FB7EF3

#FB7EF3 is a light, highly saturated purple. Relative luminance 0.419; OKLCH L 77.4% C 0.205 H 329.8°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#FB7EF3
RGBrgb(251, 126, 243)
HSLhsl(304, 94%, 74%)
HSVhsv(304, 50%, 98%)
CMYKcmyk(0%, 49.8%, 3.2%, 1.6%)
CIE-LABlab(70.81, 62.76, -37.70)
CIE-LCHlch(70.81, 73.21, 329.01°)
OKLaboklab(77.42% 0.177 -0.1031)
OKLCHoklch(77.42% 0.205 329.8)
XYZxyz(63.4215, 41.9058, 89.5247)
Luminance0.4190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7EF3 #7EFB86
analogous
#C57EFB #FB7EF3 #FB7EB5
triadic
#FB7EF3 #F3FB7E #7EF3FB
tetradic
#FB7EF3 #FBC57E #7EFB86 #7EB5FB
square
#FB7EF3 #FBC57E #7EFB86 #7EB5FB
split-complementary
#FB7EF3 #B5FB7E #7EFBC5
monochromatic
#F708E8 #F943ED #FB7EF3 #FDB9F9 #FEE1FC

Accessibility & contrast

On white

2.24
#FB7EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#FB7EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7EF3
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7EF3#FFFFFF#000000##000000
##FB7EF31.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F7
Deuteranopia (green-blind)
#9BB3EF
Tritanopia (blue-blind)
#FF89AE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7ef3;
/* rgb */ color: rgb(251, 126, 243);
/* oklch */ color: oklch(77.4% 0.205 329.8);
Tailwind
colors: {
  custom: {
    50: '#ffa8f7',
    500: '#fb7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ef3;
$custom-light: #ffa8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ef3",
  "rgb": {
    "r": 251,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 303.84,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.77424,
    "c": 0.20478,
    "h": 329.8
  },
  "luminance": 0.41902
}

Semantic roles & 50–950 ramp

primary
#FB7EF3
secondary
#D5F6D7
accent
#E60F00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FB7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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