#FF04D9#FF04D9

#FF04D9 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 68.1% C 0.299 H 337.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#FF04D9
RGBrgb(255, 4, 217)
HSLhsl(309, 100%, 51%)
HSVhsv(309, 98%, 100%)
CMYKcmyk(0%, 98.4%, 14.9%, 0%)
CIE-LABlab(58.38, 93.03, -42.62)
CIE-LCHlch(58.38, 102.33, 335.39°)
OKLaboklab(68.15% 0.2754 -0.1164)
OKLCHoklch(68.15% 0.299 337.1)
XYZxyz(53.8091, 26.3621, 67.8868)
Luminance0.2636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF04D9 #04FF2A
analogous
#A804FF #FF04D9 #FF045B
triadic
#FF04D9 #D9FF04 #04D9FF
tetradic
#FF04D9 #FFA804 #04FF2A #045BFF
square
#FF04D9 #FFA804 #04FF2A #045BFF
split-complementary
#FF04D9 #5BFF04 #04FFA8
monochromatic
#890074 #C600A8 #FF04D9 #FF41E2 #FF7EEC

Accessibility & contrast

On white

3.35
#FF04D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#FF04D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF04D9
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF04D9#FFFFFF#000000##000000
##FF04D91.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C77DD
Deuteranopia (green-blind)
#7E98D4
Tritanopia (blue-blind)
#FF2C80
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ff04d9;
/* rgb */ color: rgb(255, 4, 217);
/* oklch */ color: oklch(68.1% 0.299 337.1);
Tailwind
colors: {
  custom: {
    50: '#ff7ae5',
    500: '#ff04d9',
    950: '#000000',
  },
}
SCSS
$custom: #ff04d9;
$custom-light: #ff7ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#ff04d9",
  "rgb": {
    "r": 255,
    "g": 4,
    "b": 217
  },
  "hsl": {
    "h": 309.084,
    "s": 100,
    "l": 50.784
  },
  "oklch": {
    "l": 0.68145,
    "c": 0.299,
    "h": 337.1
  },
  "luminance": 0.26357
}

Semantic roles & 50–950 ramp

primary
#FF04D9
secondary
#78E789
accent
#FF4929
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#190B16
muted
#877C84

Preview Lab

Preview with #FF04D9

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

Preview Lab → · Contrast checker → · Palette generator →

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