#FF7FF2#FF7FF2

#FF7FF2 is a light, highly saturated purple. Relative luminance 0.428; OKLCH L 78.0% C 0.205 H 331.3°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#FF7FF2
RGBrgb(255, 127, 242)
HSLhsl(306, 100%, 75%)
HSVhsv(306, 50%, 100%)
CMYKcmyk(0%, 50.2%, 5.1%, 0%)
CIE-LABlab(71.46, 63.23, -36.10)
CIE-LCHlch(71.46, 72.81, 330.27°)
OKLaboklab(78% 0.1798 -0.0985)
OKLCHoklch(78% 0.205 331.3)
XYZxyz(64.8560, 42.8536, 88.8427)
Luminance0.4285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7FF2 #7FFF8C
analogous
#CC7FFF #FF7FF2 #FF7FB2
triadic
#FF7FF2 #F2FF7F #7FF2FF
tetradic
#FF7FF2 #FFCC7F #7FFF8C #7FB2FF
square
#FF7FF2 #FFCC7F #7FFF8C #7FB2FF
split-complementary
#FF7FF2 #B2FF7F #7FFFCC
monochromatic
#FF05E6 #FF42EC #FF7FF2 #FFBCF8 #FFE0FC

Accessibility & contrast

On white

2.19
#FF7FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#FF7FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7FF2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7FF2#FFFFFF#000000##000000
##FF7FF21.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#9FB5EE
Tritanopia (blue-blind)
#FF89AE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ff7ff2;
/* rgb */ color: rgb(255, 127, 242);
/* oklch */ color: oklch(78.0% 0.205 331.3);
Tailwind
colors: {
  custom: {
    50: '#ffa9f6',
    500: '#ff7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ff7ff2;
$custom-light: #ffa9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7ff2",
  "rgb": {
    "r": 255,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 306.094,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77998,
    "c": 0.20495,
    "h": 331.3
  },
  "luminance": 0.4285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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