#FF7EF1#FF7EF1

#FF7EF1 is a light, highly saturated purple. Relative luminance 0.425; OKLCH L 77.8% C 0.206 H 331.6°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#FF7EF1
RGBrgb(255, 126, 241)
HSLhsl(307, 100%, 75%)
HSVhsv(307, 51%, 100%)
CMYKcmyk(0%, 50.6%, 5.5%, 0%)
CIE-LABlab(71.24, 63.53, -35.89)
CIE-LCHlch(71.24, 72.97, 330.53°)
OKLaboklab(77.82% 0.1809 -0.0978)
OKLCHoklch(77.82% 0.206 331.6)
XYZxyz(64.5777, 42.5367, 88.0111)
Luminance0.4253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7EF1 #7EFF8C
analogous
#CD7EFF #FF7EF1 #FF7EB0
triadic
#FF7EF1 #F1FF7E #7EF1FF
tetradic
#FF7EF1 #FFCD7E #7EFF8C #7EB0FF
square
#FF7EF1 #FFCD7E #7EFF8C #7EB0FF
split-complementary
#FF7EF1 #B0FF7E #7EFFCD
monochromatic
#FF04E4 #FF41EA #FF7EF1 #FFBBF8 #FFE0FC

Accessibility & contrast

On white

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

On black

9.51
#FF7EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7EF1
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7EF1#FFFFFF#000000##000000
##FF7EF11.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A3F5
Deuteranopia (green-blind)
#9FB5ED
Tritanopia (blue-blind)
#FF88AD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ff7ef1;
/* rgb */ color: rgb(255, 126, 241);
/* oklch */ color: oklch(77.8% 0.206 331.6);
Tailwind
colors: {
  custom: {
    50: '#ffa8f6',
    500: '#ff7ef1',
    950: '#000000',
  },
}
SCSS
$custom: #ff7ef1;
$custom-light: #ffa8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7ef1",
  "rgb": {
    "r": 255,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 306.512,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77824,
    "c": 0.20567,
    "h": 331.6
  },
  "luminance": 0.42533
}

Semantic roles & 50–950 ramp

primary
#FF7EF1
secondary
#D4F7D8
accent
#E61900
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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