#FF5EF6#FF5EF6

#FF5EF6 is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 74.4% C 0.254 H 330.1°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#FF5EF6
RGBrgb(255, 94, 246)
HSLhsl(303, 100%, 68%)
HSVhsv(303, 63%, 100%)
CMYKcmyk(0%, 63.1%, 3.5%, 0%)
CIE-LABlab(66.46, 77.91, -46.11)
CIE-LCHlch(66.46, 90.53, 329.38°)
OKLaboklab(74.4% 0.2205 -0.1269)
OKLCHoklch(74.4% 0.254 330.1)
XYZxyz(61.8769, 35.9237, 90.8458)
Luminance0.3592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5EF6 #5EFF67
analogous
#B75EFF #FF5EF6 #FF5EA5
triadic
#FF5EF6 #F6FF5E #5EF6FF
tetradic
#FF5EF6 #FFB75E #5EFF67 #5EA5FF
square
#FF5EF6 #FFB75E #5EFF67 #5EA5FF
split-complementary
#FF5EF6 #A5FF5E #5EFFB7
monochromatic
#E300D6 #FF21F3 #FF5EF6 #FF9BF9 #FFD8FD

Accessibility & contrast

On white

2.57
#FF5EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#FF5EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5EF6
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5EF6#FFFFFF#000000##000000
##FF5EF61.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193FA
Deuteranopia (green-blind)
#8AA9F2
Tritanopia (blue-blind)
#FF70A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ff5ef6;
/* rgb */ color: rgb(255, 94, 246);
/* oklch */ color: oklch(74.4% 0.254 330.1);
Tailwind
colors: {
  custom: {
    50: '#ff96f9',
    500: '#ff5ef6',
    950: '#000000',
  },
}
SCSS
$custom: #ff5ef6;
$custom-light: #ff96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5ef6",
  "rgb": {
    "r": 255,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 303.354,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.74396,
    "c": 0.2544,
    "h": 330.1
  },
  "luminance": 0.35919
}

Semantic roles & 50–950 ramp

primary
#FF5EF6
secondary
#C4F5C7
accent
#E60D00
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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