#FF7DFB#FF7DFB

#FF7DFB is a light, highly saturated purple. Relative luminance 0.429; OKLCH L 78.1% C 0.215 H 328.6°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#FF7DFB
RGBrgb(255, 125, 251)
HSLhsl(302, 100%, 75%)
HSVhsv(302, 51%, 100%)
CMYKcmyk(0%, 51%, 1.6%, 0%)
CIE-LABlab(71.48, 65.64, -40.98)
CIE-LCHlch(71.48, 77.38, 328.02°)
OKLaboklab(78.14% 0.1838 -0.1124)
OKLCHoklch(78.14% 0.215 328.6)
XYZxyz(65.9853, 42.8962, 96.0523)
Luminance0.4289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7DFB #7DFF81
analogous
#C27DFF #FF7DFB #FF7DBA
triadic
#FF7DFB #FBFF7D #7DFBFF
tetradic
#FF7DFB #FFC27D #7DFF81 #7DBAFF
square
#FF7DFB #FFC27D #7DFF81 #7DBAFF
split-complementary
#FF7DFB #BAFF7D #7DFFC2
monochromatic
#FF03F7 #FF40F9 #FF7DFB #FFBAFD #FFE0FE

Accessibility & contrast

On white

2.19
#FF7DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#FF7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7DFB
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7DFB#FFFFFF#000000##000000
##FF7DFB1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#FF8AB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ff7dfb;
/* rgb */ color: rgb(255, 125, 251);
/* oklch */ color: oklch(78.1% 0.215 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa8fd',
    500: '#ff7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #ff7dfb;
$custom-light: #ffa8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7dfb",
  "rgb": {
    "r": 255,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 301.846,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.78142,
    "c": 0.21544,
    "h": 328.6
  },
  "luminance": 0.42892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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