Magenta#FF00FF

#FF00FF is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 70.2% C 0.323 H 328.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Magenta — editorial page

Color values

HEX#FF00FF
RGBrgb(255, 0, 255)
HSLhsl(300, 100%, 50%)
HSVhsv(300, 100%, 100%)
CMYKcmyk(0%, 100%, 0%, 0%)
CIE-LABlab(60.32, 98.23, -60.82)
CIE-LCHlch(60.32, 115.54, 328.24°)
OKLaboklab(70.17% 0.2746 -0.1692)
OKLCHoklch(70.17% 0.323 328.4)
XYZxyz(59.2894, 28.4848, 96.9638)
Luminance0.2848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF00FF #00FF00
analogous
#7F00FF #FF00FF #FF0080
triadic
#FF00FF #FFFF00 #00FFFF
tetradic
#FF00FF #FF8000 #00FF00 #007FFF
square
#FF00FF #FF8000 #00FF00 #007FFF
split-complementary
#FF00FF #80FF00 #00FF80
monochromatic
#850085 #C200C2 #FF00FF #FF3DFF #FF7AFF

Accessibility & contrast

On white

3.14
#FF00FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#FF00FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF00FF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF00FF#FFFFFF#000000##000000
##FF00FF1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#FF4A97
Achromatopsia (no color)
#919191

Related colors

#E313E2
#C71AC6
#AC1EAB
#921F91
#781E77
#601C5F
#481947
#321531
#1D0E1C
#000000
#FF44FF
#FF63FF
#FF7BFF
#FF91FF
#FFA5FF
#FFB8FF
#FFCAFF
#FFDCFF
#FFEEFF
#FFFFFF
#F535F4
#EB4AE9
#E159DE
#D765D3

Palettes with this color

Design tokens & code

CSS
--color: #ff00ff;
/* rgb */ color: rgb(255, 0, 255);
/* oklch */ color: oklch(70.2% 0.323 328.4);
Tailwind
colors: {
  custom: {
    50: '#ff7bff',
    500: '#ff00ff',
    950: '#000000',
  },
}
SCSS
$custom: #ff00ff;
$custom-light: #ff7bff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff00ff",
  "rgb": {
    "r": 255,
    "g": 0,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 50
  },
  "oklch": {
    "l": 0.70167,
    "c": 0.3225,
    "h": 328.4
  },
  "luminance": 0.2848
}

Semantic roles & 50–950 ramp

primary
#FF00FF
secondary
#74E774
accent
#FF2929
background
#FFF8FF
surface
#FFF0FF
border
#D7CBD7
text
#190C18
muted
#877D86

Preview Lab

Preview with #FF00FF

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

Preview Lab → · Contrast checker → · Palette generator →

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