#FB7FEF#FB7FEF

#FB7FEF is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.4% C 0.200 H 331.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#FB7FEF
RGBrgb(251, 127, 239)
HSLhsl(306, 94%, 74%)
HSVhsv(306, 49%, 98%)
CMYKcmyk(0%, 49.4%, 4.8%, 1.6%)
CIE-LABlab(70.82, 61.62, -35.49)
CIE-LCHlch(70.82, 71.11, 330.06°)
OKLaboklab(77.38% 0.1749 -0.0968)
OKLCHoklch(77.38% 0.2 331)
XYZxyz(62.9526, 41.9238, 86.4209)
Luminance0.4192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FEF #7FFB8B
analogous
#C97FFB #FB7FEF #FB7FB1
triadic
#FB7FEF #EFFB7F #7FEFFB
tetradic
#FB7FEF #FBC97F #7FFB8B #7FB1FB
square
#FB7FEF #FBC97F #7FFB8B #7FB1FB
split-complementary
#FB7FEF #B1FB7F #7FFBC9
monochromatic
#F708E0 #F944E8 #FB7FEF #FDBAF6 #FEE1FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB7FEF#FFFFFF#000000##000000
##FB7FEF1.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)
#7AA2F3
Deuteranopia (green-blind)
#9EB4EB
Tritanopia (blue-blind)
#FF89AC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fb7fef;
/* rgb */ color: rgb(251, 127, 239);
/* oklch */ color: oklch(77.4% 0.200 331.0);
Tailwind
colors: {
  custom: {
    50: '#ffa8f4',
    500: '#fb7fef',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fef;
$custom-light: #ffa8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fef",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 305.806,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77379,
    "c": 0.19991,
    "h": 331
  },
  "luminance": 0.4192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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