#FF7DF8#FF7DF8

#FF7DF8 is a light, highly saturated purple. Relative luminance 0.427; OKLCH L 78.0% C 0.213 H 329.4°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#FF7DF8
RGBrgb(255, 125, 248)
HSLhsl(303, 100%, 75%)
HSVhsv(303, 51%, 100%)
CMYKcmyk(0%, 51%, 2.7%, 0%)
CIE-LABlab(71.36, 65.14, -39.54)
CIE-LCHlch(71.36, 76.20, 328.74°)
OKLaboklab(78.01% 0.1834 -0.1082)
OKLCHoklch(78.01% 0.213 329.4)
XYZxyz(65.5162, 42.7085, 93.5815)
Luminance0.4270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7DF8 #7DFF84
analogous
#C57DFF #FF7DF8 #FF7DB7
triadic
#FF7DF8 #F8FF7D #7DF8FF
tetradic
#FF7DF8 #FFC57D #7DFF84 #7DB7FF
square
#FF7DF8 #FFC57D #7DFF84 #7DB7FF
split-complementary
#FF7DF8 #B7FF7D #7DFFC5
monochromatic
#FF03F1 #FF40F5 #FF7DF8 #FFBAFB #FFE0FD

Accessibility & contrast

On white

2.20
#FF7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#FF7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7DF8
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7DF8#FFFFFF#000000##000000
##FF7DF81.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FC
Deuteranopia (green-blind)
#9BB5F4
Tritanopia (blue-blind)
#FF89B0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ff7df8;
/* rgb */ color: rgb(255, 125, 248);
/* oklch */ color: oklch(78.0% 0.213 329.4);
Tailwind
colors: {
  custom: {
    50: '#ffa7fb',
    500: '#ff7df8',
    950: '#000000',
  },
}
SCSS
$custom: #ff7df8;
$custom-light: #ffa7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7df8",
  "rgb": {
    "r": 255,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 303.231,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.78006,
    "c": 0.21294,
    "h": 329.4
  },
  "luminance": 0.42705
}

Semantic roles & 50–950 ramp

primary
#FF7DF8
secondary
#D4F7D6
accent
#E60C00
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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