#FF5EF5#FF5EF5

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

Color values

HEX#FF5EF5
RGBrgb(255, 94, 245)
HSLhsl(304, 100%, 68%)
HSVhsv(304, 63%, 100%)
CMYKcmyk(0%, 63.1%, 3.9%, 0%)
CIE-LABlab(66.41, 77.75, -45.63)
CIE-LCHlch(66.41, 90.15, 329.59°)
OKLaboklab(74.35% 0.2204 -0.1255)
OKLCHoklch(74.35% 0.254 330.3)
XYZxyz(61.7238, 35.8625, 90.0397)
Luminance0.3586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5EF5 #5EFF68
analogous
#B85EFF #FF5EF5 #FF5EA4
triadic
#FF5EF5 #F5FF5E #5EF5FF
tetradic
#FF5EF5 #FFB85E #5EFF68 #5EA4FF
square
#FF5EF5 #FFB85E #5EFF68 #5EA4FF
split-complementary
#FF5EF5 #A4FF5E #5EFFB8
monochromatic
#E300D5 #FF21F1 #FF5EF5 #FF9BF9 #FFD8FD

Accessibility & contrast

On white

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

On black

8.17
#FF5EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5EF5
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5EF5#FFFFFF#000000##000000
##FF5EF51.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#8AA9F1
Tritanopia (blue-blind)
#FF70A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ff5ef5;
/* rgb */ color: rgb(255, 94, 245);
/* oklch */ color: oklch(74.3% 0.254 330.3);
Tailwind
colors: {
  custom: {
    50: '#ff96f9',
    500: '#ff5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ff5ef5;
$custom-light: #ff96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5ef5",
  "rgb": {
    "r": 255,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 303.727,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.74346,
    "c": 0.25365,
    "h": 330.3
  },
  "luminance": 0.35858
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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