#FF7FEC#FF7FEC

#FF7FEC is a light, highly saturated purple. Relative luminance 0.425; OKLCH L 77.7% C 0.200 H 333.2°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#FF7FEC
RGBrgb(255, 127, 236)
HSLhsl(309, 100%, 75%)
HSVhsv(309, 50%, 100%)
CMYKcmyk(0%, 50.2%, 7.5%, 0%)
CIE-LABlab(71.21, 62.25, -33.19)
CIE-LCHlch(71.21, 70.55, 331.94°)
OKLaboklab(77.74% 0.1787 -0.0902)
OKLCHoklch(77.74% 0.2 333.2)
XYZxyz(63.9696, 42.4991, 84.1744)
Luminance0.4249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7FEC #7FFF92
analogous
#D27FFF #FF7FEC #FF7FAC
triadic
#FF7FEC #ECFF7F #7FECFF
tetradic
#FF7FEC #FFD27F #7FFF92 #7FACFF
square
#FF7FEC #FFD27F #7FFF92 #7FACFF
split-complementary
#FF7FEC #ACFF7F #7FFFD2
monochromatic
#FF05DA #FF42E3 #FF7FEC #FFBCF5 #FFE0FA

Accessibility & contrast

On white

2.21
#FF7FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#FF7FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7FEC
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7FEC#FFFFFF#000000##000000
##FF7FEC1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F0
Deuteranopia (green-blind)
#A1B5E8
Tritanopia (blue-blind)
#FF87AB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ff7fec;
/* rgb */ color: rgb(255, 127, 236);
/* oklch */ color: oklch(77.7% 0.200 333.2);
Tailwind
colors: {
  custom: {
    50: '#ffa8f2',
    500: '#ff7fec',
    950: '#000000',
  },
}
SCSS
$custom: #ff7fec;
$custom-light: #ffa8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7fec",
  "rgb": {
    "r": 255,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 308.906,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77739,
    "c": 0.20013,
    "h": 333.2
  },
  "luminance": 0.42495
}

Semantic roles & 50–950 ramp

primary
#FF7FEC
secondary
#D4F7D9
accent
#E62200
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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