#FF7FFF#FF7FFF

#FF7FFF is a light, highly saturated purple. Relative luminance 0.437; OKLCH L 78.6% C 0.216 H 327.4°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#FF7FFF
RGBrgb(255, 127, 255)
HSLhsl(300, 100%, 75%)
HSVhsv(300, 50%, 100%)
CMYKcmyk(0%, 50.2%, 0%, 0%)
CIE-LABlab(72.00, 65.40, -42.35)
CIE-LCHlch(72.00, 77.91, 327.07°)
OKLaboklab(78.58% 0.1818 -0.1163)
OKLCHoklch(78.58% 0.216 327.4)
XYZxyz(66.8783, 43.6625, 99.4934)
Luminance0.4366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7FFF #7FFF7F
analogous
#BF7FFF #FF7FFF #FF7FBF
triadic
#FF7FFF #FFFF7F #7FFFFF
tetradic
#FF7FFF #FFBF7F #7FFF7F #7FBFFF
square
#FF7FFF #FFBF7F #7FFF7F #7FBFFF
split-complementary
#FF7FFF #BFFF7F #7FFFBF
monochromatic
#FF05FF #FF42FF #FF7FFF #FFBCFF #FFE0FF

Accessibility & contrast

On white

2.16
#FF7FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#FF7FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7FFF
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7FFF#FFFFFF#000000##000000
##FF7FFF1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A6FF
Deuteranopia (green-blind)
#9AB6FB
Tritanopia (blue-blind)
#FF8DB4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #ff7fff;
/* rgb */ color: rgb(255, 127, 255);
/* oklch */ color: oklch(78.6% 0.216 327.4);
Tailwind
colors: {
  custom: {
    50: '#ffa9ff',
    500: '#ff7fff',
    950: '#000000',
  },
}
SCSS
$custom: #ff7fff;
$custom-light: #ffa9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7fff",
  "rgb": {
    "r": 255,
    "g": 127,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.78581,
    "c": 0.21581,
    "h": 327.4
  },
  "luminance": 0.43659
}

Semantic roles & 50–950 ramp

primary
#FF7FFF
secondary
#D4F7D4
accent
#E60000
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181018
muted
#867F86

Preview Lab

Preview with #FF7FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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