#FF7FEF#FF7FEF

#FF7FEF is a light, highly saturated purple. Relative luminance 0.427; OKLCH L 77.9% C 0.203 H 332.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#FF7FEF
RGBrgb(255, 127, 239)
HSLhsl(308, 100%, 75%)
HSVhsv(308, 50%, 100%)
CMYKcmyk(0%, 50.2%, 6.3%, 0%)
CIE-LABlab(71.33, 62.74, -34.65)
CIE-LCHlch(71.33, 71.67, 331.09°)
OKLaboklab(77.87% 0.1792 -0.0943)
OKLCHoklch(77.87% 0.203 332.2)
XYZxyz(64.4091, 42.6749, 86.4892)
Luminance0.4267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7FEF #7FFF8F
analogous
#CF7FFF #FF7FEF #FF7FAF
triadic
#FF7FEF #EFFF7F #7FEFFF
tetradic
#FF7FEF #FFCF7F #7FFF8F #7FAFFF
square
#FF7FEF #FFCF7F #7FFF8F #7FAFFF
split-complementary
#FF7FEF #AFFF7F #7FFFCF
monochromatic
#FF05E0 #FF42E7 #FF7FEF #FFBCF7 #FFE0FB

Accessibility & contrast

On white

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

On black

9.53
#FF7FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7FEF
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7FEF#FFFFFF#000000##000000
##FF7FEF1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F3
Deuteranopia (green-blind)
#A0B5EB
Tritanopia (blue-blind)
#FF88AC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ff7fef;
/* rgb */ color: rgb(255, 127, 239);
/* oklch */ color: oklch(77.9% 0.203 332.2);
Tailwind
colors: {
  custom: {
    50: '#ffa9f4',
    500: '#ff7fef',
    950: '#000000',
  },
}
SCSS
$custom: #ff7fef;
$custom-light: #ffa9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7fef",
  "rgb": {
    "r": 255,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 307.5,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77868,
    "c": 0.20252,
    "h": 332.2
  },
  "luminance": 0.42671
}

Semantic roles & 50–950 ramp

primary
#FF7FEF
secondary
#D4F7D8
accent
#E61D00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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