#FF51EA#FF51EA

#FF51EA is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 72.6% C 0.261 H 333.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#FF51EA
RGBrgb(255, 81, 234)
HSLhsl(307, 100%, 66%)
HSVhsv(307, 68%, 100%)
CMYKcmyk(0%, 68.2%, 8.2%, 0%)
CIE-LABlab(64.23, 80.77, -42.96)
CIE-LCHlch(64.23, 91.48, 331.99°)
OKLaboklab(72.6% 0.2331 -0.1177)
OKLCHoklch(72.6% 0.261 333.2)
XYZxyz(59.0340, 33.0902, 81.1038)
Luminance0.3308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF51EA #51FF66
analogous
#BD51FF #FF51EA #FF5193
triadic
#FF51EA #EAFF51 #51EAFF
tetradic
#FF51EA #FFBD51 #51FF66 #5193FF
square
#FF51EA #FFBD51 #51FF66 #5193FF
split-complementary
#FF51EA #93FF51 #51FFBD
monochromatic
#D600BC #FF14E3 #FF51EA #FF8EF1 #FFCBF9

Accessibility & contrast

On white

2.76
#FF51EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#FF51EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF51EA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF51EA#FFFFFF#000000##000000
##FF51EA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#89A5E6
Tritanopia (blue-blind)
#FF6197
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ff51ea;
/* rgb */ color: rgb(255, 81, 234);
/* oklch */ color: oklch(72.6% 0.261 333.2);
Tailwind
colors: {
  custom: {
    50: '#ff8ff1',
    500: '#ff51ea',
    950: '#000000',
  },
}
SCSS
$custom: #ff51ea;
$custom-light: #ff8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ff51ea",
  "rgb": {
    "r": 255,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 307.241,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.72601,
    "c": 0.26116,
    "h": 333.2
  },
  "luminance": 0.33085
}

Semantic roles & 50–950 ramp

primary
#FF51EA
secondary
#B9F3C0
accent
#E61C00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF51EA

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

Preview Lab → · Contrast checker → · Palette generator →

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