#FF05DB#FF05DB

#FF05DB is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 68.3% C 0.300 H 336.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#FF05DB
RGBrgb(255, 5, 219)
HSLhsl(309, 100%, 51%)
HSVhsv(309, 98%, 100%)
CMYKcmyk(0%, 98%, 14.1%, 0%)
CIE-LABlab(58.50, 93.21, -43.57)
CIE-LCHlch(58.50, 102.89, 334.95°)
OKLaboklab(68.26% 0.2753 -0.1191)
OKLCHoklch(68.26% 0.3 336.6)
XYZxyz(54.0817, 26.4885, 69.2687)
Luminance0.2648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF05DB #05FF29
analogous
#A605FF #FF05DB #FF055E
triadic
#FF05DB #DBFF05 #05DBFF
tetradic
#FF05DB #FFA605 #05FF29 #055EFF
square
#FF05DB #FFA605 #05FF29 #055EFF
split-complementary
#FF05DB #5EFF05 #05FFA6
monochromatic
#8A0076 #C700AA #FF05DB #FF42E4 #FF7FED

Accessibility & contrast

On white

3.34
#FF05DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#FF05DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF05DB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF05DB#FFFFFF#000000##000000
##FF05DB1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1777DF
Deuteranopia (green-blind)
#7E98D6
Tritanopia (blue-blind)
#FF2E81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ff05db;
/* rgb */ color: rgb(255, 5, 219);
/* oklch */ color: oklch(68.3% 0.300 336.6);
Tailwind
colors: {
  custom: {
    50: '#ff7ae6',
    500: '#ff05db',
    950: '#000000',
  },
}
SCSS
$custom: #ff05db;
$custom-light: #ff7ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff05db",
  "rgb": {
    "r": 255,
    "g": 5,
    "b": 219
  },
  "hsl": {
    "h": 308.64,
    "s": 100,
    "l": 50.98
  },
  "oklch": {
    "l": 0.68261,
    "c": 0.29994,
    "h": 336.6
  },
  "luminance": 0.26483
}

Semantic roles & 50–950 ramp

primary
#FF05DB
secondary
#79E788
accent
#FF4829
background
#FFF8FE
surface
#FFF0FC
border
#D7CBD5
text
#190C16
muted
#877D84

Preview Lab

Preview with #FF05DB

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

Preview Lab → · Contrast checker → · Palette generator →

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