#FF5EF7#FF5EF7

#FF5EF7 is a light, highly saturated purple. Relative luminance 0.360; OKLCH L 74.4% C 0.255 H 329.8°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#FF5EF7
RGBrgb(255, 94, 247)
HSLhsl(303, 100%, 68%)
HSVhsv(303, 63%, 100%)
CMYKcmyk(0%, 63.1%, 3.1%, 0%)
CIE-LABlab(66.51, 78.06, -46.59)
CIE-LCHlch(66.51, 90.91, 329.17°)
OKLaboklab(74.44% 0.2206 -0.1282)
OKLCHoklch(74.44% 0.255 329.8)
XYZxyz(62.0308, 35.9852, 91.6564)
Luminance0.3598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5EF7 #5EFF66
analogous
#B65EFF #FF5EF7 #FF5EA6
triadic
#FF5EF7 #F7FF5E #5EF7FF
tetradic
#FF5EF7 #FFB65E #5EFF66 #5EA6FF
square
#FF5EF7 #FFB65E #5EFF66 #5EA6FF
split-complementary
#FF5EF7 #A6FF5E #5EFFB6
monochromatic
#E300D7 #FF21F4 #FF5EF7 #FF9BFA #FFD8FD

Accessibility & contrast

On white

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

On black

8.20
#FF5EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5EF7
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5EF7#FFFFFF#000000##000000
##FF5EF71.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5094FC
Deuteranopia (green-blind)
#89AAF3
Tritanopia (blue-blind)
#FF70A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ff5ef7;
/* rgb */ color: rgb(255, 94, 247);
/* oklch */ color: oklch(74.4% 0.255 329.8);
Tailwind
colors: {
  custom: {
    50: '#ff96fa',
    500: '#ff5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #ff5ef7;
$custom-light: #ff96fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5ef7",
  "rgb": {
    "r": 255,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 302.981,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.74445,
    "c": 0.25515,
    "h": 329.8
  },
  "luminance": 0.35981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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