#FB57EF#FB57EF

#FB57EF is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.8% C 0.256 H 330.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#FB57EF
RGBrgb(251, 87, 239)
HSLhsl(304, 95%, 66%)
HSVhsv(304, 65%, 98%)
CMYKcmyk(0%, 65.3%, 4.8%, 1.6%)
CIE-LABlab(64.61, 78.50, -45.19)
CIE-LCHlch(64.61, 90.58, 330.07°)
OKLaboklab(72.83% 0.2234 -0.1242)
OKLCHoklch(72.83% 0.256 330.9)
XYZxyz(58.7717, 33.5620, 85.0273)
Luminance0.3356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB57EF #57FB63
analogous
#B557FB #FB57EF #FB579D
triadic
#FB57EF #EFFB57 #57EFFB
tetradic
#FB57EF #FBB557 #57FB63 #579DFB
square
#FB57EF #FBB557 #57FB63 #579DFB
split-complementary
#FB57EF #9DFB57 #57FBB5
monochromatic
#D305C4 #FA1BE9 #FB57EF #FC93F5 #FECFFA

Accessibility & contrast

On white

2.72
#FB57EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#FB57EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB57EF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB57EF#FFFFFF#000000##000000
##FB57EF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8EF3
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#FF699C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #fb57ef;
/* rgb */ color: rgb(251, 87, 239);
/* oklch */ color: oklch(72.8% 0.256 330.9);
Tailwind
colors: {
  custom: {
    50: '#ff92f5',
    500: '#fb57ef',
    950: '#000000',
  },
}
SCSS
$custom: #fb57ef;
$custom-light: #ff92f5;
$custom-dark: #000000;
JSON
{
  "hex": "#fb57ef",
  "rgb": {
    "r": 251,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 304.39,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.72834,
    "c": 0.25564,
    "h": 330.9
  },
  "luminance": 0.33558
}

Semantic roles & 50–950 ramp

primary
#FB57EF
secondary
#BCF2C0
accent
#E61100
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#190E17
muted
#877E85

Preview Lab

Preview with #FB57EF

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

Preview Lab → · Contrast checker → · Palette generator →

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