#FF7EFB#FF7EFB

#FF7EFB is a light, highly saturated purple. Relative luminance 0.431; OKLCH L 78.3% C 0.214 H 328.6°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#FF7EFB
RGBrgb(255, 126, 251)
HSLhsl(302, 100%, 75%)
HSVhsv(302, 51%, 100%)
CMYKcmyk(0%, 50.6%, 1.6%, 0%)
CIE-LABlab(71.66, 65.18, -40.71)
CIE-LCHlch(71.66, 76.85, 328.01°)
OKLaboklab(78.27% 0.1825 -0.1116)
OKLCHoklch(78.27% 0.214 328.6)
XYZxyz(66.1126, 43.1506, 96.0947)
Luminance0.4315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7EFB #7EFF82
analogous
#C27EFF #FF7EFB #FF7EBB
triadic
#FF7EFB #FBFF7E #7EFBFF
tetradic
#FF7EFB #FFC27E #7EFF82 #7EBBFF
square
#FF7EFB #FFC27E #7EFF82 #7EBBFF
split-complementary
#FF7EFB #BBFF7E #7EFFC2
monochromatic
#FF04F7 #FF41F9 #FF7EFB #FFBBFD #FFE0FE

Accessibility & contrast

On white

2.18
#FF7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#FF7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7EFB
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7EFB#FFFFFF#000000##000000
##FF7EFB1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#9BB6F7
Tritanopia (blue-blind)
#FF8BB1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ff7efb;
/* rgb */ color: rgb(255, 126, 251);
/* oklch */ color: oklch(78.3% 0.214 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa8fd',
    500: '#ff7efb',
    950: '#000000',
  },
}
SCSS
$custom: #ff7efb;
$custom-light: #ffa8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7efb",
  "rgb": {
    "r": 255,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 301.86,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7827,
    "c": 0.21393,
    "h": 328.6
  },
  "luminance": 0.43147
}

Semantic roles & 50–950 ramp

primary
#FF7EFB
secondary
#D4F7D5
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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