#FF5EF8#FF5EF8

#FF5EF8 is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 74.5% C 0.256 H 329.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#FF5EF8
RGBrgb(255, 94, 248)
HSLhsl(303, 100%, 68%)
HSVhsv(303, 63%, 100%)
CMYKcmyk(0%, 63.1%, 2.7%, 0%)
CIE-LABlab(66.56, 78.22, -47.06)
CIE-LCHlch(66.56, 91.29, 328.97°)
OKLaboklab(74.5% 0.2207 -0.1296)
OKLCHoklch(74.5% 0.256 329.6)
XYZxyz(62.1855, 36.0471, 92.4712)
Luminance0.3604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5EF8 #5EFF65
analogous
#B55EFF #FF5EF8 #FF5EA7
triadic
#FF5EF8 #F8FF5E #5EF8FF
tetradic
#FF5EF8 #FFB55E #5EFF65 #5EA7FF
square
#FF5EF8 #FFB55E #5EFF65 #5EA7FF
split-complementary
#FF5EF8 #A7FF5E #5EFFB5
monochromatic
#E300D9 #FF21F5 #FF5EF8 #FF9BFB #FFD8FD

Accessibility & contrast

On white

2.56
#FF5EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#FF5EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5EF8
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5EF8#FFFFFF#000000##000000
##FF5EF81.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FD
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#FF71A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ff5ef8;
/* rgb */ color: rgb(255, 94, 248);
/* oklch */ color: oklch(74.5% 0.256 329.6);
Tailwind
colors: {
  custom: {
    50: '#ff96fb',
    500: '#ff5ef8',
    950: '#000000',
  },
}
SCSS
$custom: #ff5ef8;
$custom-light: #ff96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5ef8",
  "rgb": {
    "r": 255,
    "g": 94,
    "b": 248
  },
  "hsl": {
    "h": 302.609,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.74495,
    "c": 0.25591,
    "h": 329.6
  },
  "luminance": 0.36043
}

Semantic roles & 50–950 ramp

primary
#FF5EF8
secondary
#C4F5C6
accent
#E60A00
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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