#FF56EB#FF56EB

#FF56EB is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 73.1% C 0.256 H 333.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#FF56EB
RGBrgb(255, 86, 235)
HSLhsl(307, 100%, 67%)
HSVhsv(307, 66%, 100%)
CMYKcmyk(0%, 66.3%, 7.8%, 0%)
CIE-LABlab(64.90, 79.18, -42.48)
CIE-LCHlch(64.90, 89.85, 331.79°)
OKLaboklab(73.1% 0.2281 -0.1164)
OKLCHoklch(73.1% 0.256 333)
XYZxyz(59.5634, 33.9185, 81.9910)
Luminance0.3391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF56EB #56FF6A
analogous
#BF56FF #FF56EB #FF5696
triadic
#FF56EB #EBFF56 #56EBFF
tetradic
#FF56EB #FFBF56 #56FF6A #5696FF
square
#FF56EB #FFBF56 #56FF6A #5696FF
split-complementary
#FF56EB #96FF56 #56FFBF
monochromatic
#DB00C1 #FF19E4 #FF56EB #FF93F2 #FFD0F9

Accessibility & contrast

On white

2.70
#FF56EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#FF56EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF56EB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF56EB#FFFFFF#000000##000000
##FF56EB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EEF
Deuteranopia (green-blind)
#8BA6E7
Tritanopia (blue-blind)
#FF659A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ff56eb;
/* rgb */ color: rgb(255, 86, 235);
/* oklch */ color: oklch(73.1% 0.256 333.0);
Tailwind
colors: {
  custom: {
    50: '#ff92f2',
    500: '#ff56eb',
    950: '#000000',
  },
}
SCSS
$custom: #ff56eb;
$custom-light: #ff92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff56eb",
  "rgb": {
    "r": 255,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 307.101,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.73096,
    "c": 0.25609,
    "h": 333
  },
  "luminance": 0.33914
}

Semantic roles & 50–950 ramp

primary
#FF56EB
secondary
#BDF3C4
accent
#E61B00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF56EB

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

Preview Lab → · Contrast checker → · Palette generator →

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