#FF56FF#FF56FF

#FF56FF is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 74.1% C 0.271 H 327.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#FF56FF
RGBrgb(255, 86, 255)
HSLhsl(300, 100%, 67%)
HSVhsv(300, 66%, 100%)
CMYKcmyk(0%, 66.3%, 0%, 0%)
CIE-LABlab(65.86, 82.23, -52.02)
CIE-LCHlch(65.86, 97.30, 327.68°)
OKLaboklab(74.1% 0.2293 -0.1439)
OKLCHoklch(74.1% 0.271 327.9)
XYZxyz(62.6170, 35.1399, 98.0730)
Luminance0.3514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF56FF #56FF56
analogous
#AB56FF #FF56FF #FF56AB
triadic
#FF56FF #FFFF56 #56FFFF
tetradic
#FF56FF #FFAB56 #56FF56 #56ABFF
square
#FF56FF #FFAB56 #56FF56 #56ABFF
split-complementary
#FF56FF #ABFF56 #56FFAB
monochromatic
#DB00DB #FF19FF #FF56FF #FF93FF #FFD0FF

Accessibility & contrast

On white

2.62
#FF56FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#FF56FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF56FF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF56FF#FFFFFF#000000##000000
##FF56FF1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C92FF
Deuteranopia (green-blind)
#81A8FB
Tritanopia (blue-blind)
#FF6EA4
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff56ff;
/* rgb */ color: rgb(255, 86, 255);
/* oklch */ color: oklch(74.1% 0.271 327.9);
Tailwind
colors: {
  custom: {
    50: '#ff92ff',
    500: '#ff56ff',
    950: '#000000',
  },
}
SCSS
$custom: #ff56ff;
$custom-light: #ff92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ff56ff",
  "rgb": {
    "r": 255,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 300,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.74101,
    "c": 0.27069,
    "h": 327.9
  },
  "luminance": 0.35136
}

Semantic roles & 50–950 ramp

primary
#FF56FF
secondary
#BDF3BD
accent
#E60000
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E18
muted
#877E86

Preview Lab

Preview with #FF56FF

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

Preview Lab → · Contrast checker → · Palette generator →

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