#FB57ED#FB57ED

#FB57ED is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.7% C 0.254 H 331.5°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#FB57ED
RGBrgb(251, 87, 237)
HSLhsl(305, 95%, 66%)
HSVhsv(305, 65%, 98%)
CMYKcmyk(0%, 65.3%, 5.6%, 1.6%)
CIE-LABlab(64.52, 78.19, -44.22)
CIE-LCHlch(64.52, 89.83, 330.51°)
OKLaboklab(72.74% 0.2233 -0.1215)
OKLCHoklch(72.74% 0.254 331.5)
XYZxyz(58.4778, 33.4445, 83.4798)
Luminance0.3344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB57ED #57FB65
analogous
#B757FB #FB57ED #FB579B
triadic
#FB57ED #EDFB57 #57EDFB
tetradic
#FB57ED #FBB757 #57FB65 #579BFB
square
#FB57ED #FBB757 #57FB65 #579BFB
split-complementary
#FB57ED #9BFB57 #57FBB7
monochromatic
#D305C1 #FA1BE7 #FB57ED #FC93F3 #FECFFA

Accessibility & contrast

On white

2.73
#FB57ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#FB57ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB57ED
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB57ED#FFFFFF#000000##000000
##FB57ED1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8EF1
Deuteranopia (green-blind)
#87A5E9
Tritanopia (blue-blind)
#FF689B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #fb57ed;
/* rgb */ color: rgb(251, 87, 237);
/* oklch */ color: oklch(72.7% 0.254 331.5);
Tailwind
colors: {
  custom: {
    50: '#ff92f3',
    500: '#fb57ed',
    950: '#000000',
  },
}
SCSS
$custom: #fb57ed;
$custom-light: #ff92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb57ed",
  "rgb": {
    "r": 251,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 305.122,
    "s": 95.349,
    "l": 66.275
  },
  "oklch": {
    "l": 0.72735,
    "c": 0.25417,
    "h": 331.5
  },
  "luminance": 0.3344
}

Semantic roles & 50–950 ramp

primary
#FB57ED
secondary
#BCF2C1
accent
#E61400
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FB57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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