#FF78FB#FF78FB

#FF78FB is a light, highly saturated purple. Relative luminance 0.417; OKLCH L 77.5% C 0.223 H 328.6°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#FF78FB
RGBrgb(255, 120, 251)
HSLhsl(302, 100%, 74%)
HSVhsv(302, 53%, 100%)
CMYKcmyk(0%, 52.9%, 1.6%, 0%)
CIE-LABlab(70.64, 67.91, -42.30)
CIE-LCHlch(70.64, 80.01, 328.08°)
OKLaboklab(77.52% 0.1902 -0.1161)
OKLCHoklch(77.52% 0.223 328.6)
XYZxyz(65.3682, 41.6620, 95.8466)
Luminance0.4166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF78FB #78FF7C
analogous
#BF78FF #FF78FB #FF78B7
triadic
#FF78FB #FBFF78 #78FBFF
tetradic
#FF78FB #FFBF78 #78FF7C #78B7FF
square
#FF78FB #FFBF78 #78FF7C #78B7FF
split-complementary
#FF78FB #B7FF78 #78FFBF
monochromatic
#FD00F5 #FF3BF9 #FF78FB #FFB5FD #FFE0FE

Accessibility & contrast

On white

2.25
#FF78FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#FF78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF78FB
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF78FB#FFFFFF#000000##000000
##FF78FB1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FF
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#FF86AF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ff78fb;
/* rgb */ color: rgb(255, 120, 251);
/* oklch */ color: oklch(77.5% 0.223 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa5fd',
    500: '#ff78fb',
    950: '#000000',
  },
}
SCSS
$custom: #ff78fb;
$custom-light: #ffa5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff78fb",
  "rgb": {
    "r": 255,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 301.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.22287,
    "h": 328.6
  },
  "luminance": 0.41658
}

Semantic roles & 50–950 ramp

primary
#FF78FB
secondary
#D4F7D5
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FF78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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