#FF7DF2#FF7DF2

#FF7DF2 is a light, highly saturated purple. Relative luminance 0.423; OKLCH L 77.7% C 0.208 H 331.3°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#FF7DF2
RGBrgb(255, 125, 242)
HSLhsl(306, 100%, 75%)
HSVhsv(306, 51%, 100%)
CMYKcmyk(0%, 51%, 5.1%, 0%)
CIE-LABlab(71.11, 64.15, -36.65)
CIE-LCHlch(71.11, 73.88, 330.26°)
OKLaboklab(77.74% 0.1824 -0.1)
OKLCHoklch(77.74% 0.208 331.3)
XYZxyz(64.6002, 42.3421, 88.7575)
Luminance0.4234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7DF2 #7DFF8A
analogous
#CB7DFF #FF7DF2 #FF7DB1
triadic
#FF7DF2 #F2FF7D #7DF2FF
tetradic
#FF7DF2 #FFCB7D #7DFF8A #7DB1FF
square
#FF7DF2 #FFCB7D #7DFF8A #7DB1FF
split-complementary
#FF7DF2 #B1FF7D #7DFFCB
monochromatic
#FF03E6 #FF40EC #FF7DF2 #FFBAF8 #FFE0FC

Accessibility & contrast

On white

2.22
#FF7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#FF7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7DF2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7DF2#FFFFFF#000000##000000
##FF7DF21.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#9EB5EE
Tritanopia (blue-blind)
#FF87AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ff7df2;
/* rgb */ color: rgb(255, 125, 242);
/* oklch */ color: oklch(77.7% 0.208 331.3);
Tailwind
colors: {
  custom: {
    50: '#ffa7f6',
    500: '#ff7df2',
    950: '#000000',
  },
}
SCSS
$custom: #ff7df2;
$custom-light: #ffa7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7df2",
  "rgb": {
    "r": 255,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 306,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.77739,
    "c": 0.20802,
    "h": 331.3
  },
  "luminance": 0.42338
}

Semantic roles & 50–950 ramp

primary
#FF7DF2
secondary
#D4F7D7
accent
#E61700
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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