#FF7FEA#FF7FEA

#FF7FEA is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.7% C 0.199 H 333.9°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#FF7FEA
RGBrgb(255, 127, 234)
HSLhsl(310, 100%, 75%)
HSVhsv(310, 50%, 100%)
CMYKcmyk(0%, 50.2%, 8.2%, 0%)
CIE-LABlab(71.13, 61.94, -32.21)
CIE-LCHlch(71.13, 69.81, 332.52°)
OKLaboklab(77.66% 0.1783 -0.0874)
OKLCHoklch(77.66% 0.199 333.9)
XYZxyz(63.6806, 42.3835, 82.6527)
Luminance0.4238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7FEA #7FFF94
analogous
#D47FFF #FF7FEA #FF7FAA
triadic
#FF7FEA #EAFF7F #7FEAFF
tetradic
#FF7FEA #FFD47F #7FFF94 #7FAAFF
square
#FF7FEA #FFD47F #7FFF94 #7FAAFF
split-complementary
#FF7FEA #AAFF7F #7FFFD4
monochromatic
#FF05D6 #FF42E0 #FF7FEA #FFBCF4 #FFE0FA

Accessibility & contrast

On white

2.22
#FF7FEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#FF7FEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7FEA
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7FEA#FFFFFF#000000##000000
##FF7FEA1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA2EE
Deuteranopia (green-blind)
#A2B5E6
Tritanopia (blue-blind)
#FF87AA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ff7fea;
/* rgb */ color: rgb(255, 127, 234);
/* oklch */ color: oklch(77.7% 0.199 333.9);
Tailwind
colors: {
  custom: {
    50: '#ffa8f1',
    500: '#ff7fea',
    950: '#000000',
  },
}
SCSS
$custom: #ff7fea;
$custom-light: #ffa8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7fea",
  "rgb": {
    "r": 255,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 309.844,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77655,
    "c": 0.19856,
    "h": 333.9
  },
  "luminance": 0.42379
}

Semantic roles & 50–950 ramp

primary
#FF7FEA
secondary
#D4F7DA
accent
#E62600
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FF7FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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