#FF7EF2#FF7EF2

#FF7EF2 is a light, highly saturated purple. Relative luminance 0.426; OKLCH L 77.9% C 0.206 H 331.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#FF7EF2
RGBrgb(255, 126, 242)
HSLhsl(306, 100%, 75%)
HSVhsv(306, 51%, 100%)
CMYKcmyk(0%, 50.6%, 5.1%, 0%)
CIE-LABlab(71.28, 63.69, -36.38)
CIE-LCHlch(71.28, 73.35, 330.27°)
OKLaboklab(77.87% 0.1811 -0.0992)
OKLCHoklch(77.87% 0.206 331.3)
XYZxyz(64.7275, 42.5966, 88.7999)
Luminance0.4259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7EF2 #7EFF8B
analogous
#CC7EFF #FF7EF2 #FF7EB1
triadic
#FF7EF2 #F2FF7E #7EF2FF
tetradic
#FF7EF2 #FFCC7E #7EFF8B #7EB1FF
square
#FF7EF2 #FFCC7E #7EFF8B #7EB1FF
split-complementary
#FF7EF2 #B1FF7E #7EFFCC
monochromatic
#FF04E6 #FF41EC #FF7EF2 #FFBBF8 #FFE0FC

Accessibility & contrast

On white

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

On black

9.52
#FF7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7EF2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7EF2#FFFFFF#000000##000000
##FF7EF21.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff7ef2;
/* rgb */ color: rgb(255, 126, 242);
/* oklch */ color: oklch(77.9% 0.206 331.3);
Tailwind
colors: {
  custom: {
    50: '#ffa8f6',
    500: '#ff7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ff7ef2;
$custom-light: #ffa8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7ef2",
  "rgb": {
    "r": 255,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 306.047,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77868,
    "c": 0.20648,
    "h": 331.3
  },
  "luminance": 0.42593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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