#FF5DF2#FF5DF2

#FF5DF2 is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 74.1% C 0.253 H 331.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#FF5DF2
RGBrgb(255, 93, 242)
HSLhsl(305, 100%, 68%)
HSVhsv(305, 64%, 100%)
CMYKcmyk(0%, 63.5%, 5.1%, 0%)
CIE-LABlab(66.14, 77.67, -44.41)
CIE-LCHlch(66.14, 89.46, 330.24°)
OKLaboklab(74.1% 0.2213 -0.122)
OKLCHoklch(74.1% 0.253 331.1)
XYZxyz(61.1812, 35.5041, 87.6178)
Luminance0.3550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5DF2 #5DFF6A
analogous
#BB5DFF #FF5DF2 #FF5DA1
triadic
#FF5DF2 #F2FF5D #5DF2FF
tetradic
#FF5DF2 #FFBB5D #5DFF6A #5DA1FF
square
#FF5DF2 #FFBB5D #5DFF6A #5DA1FF
split-complementary
#FF5DF2 #A1FF5D #5DFFBB
monochromatic
#E200CF #FF20ED #FF5DF2 #FF9AF7 #FFD7FC

Accessibility & contrast

On white

2.59
#FF5DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#FF5DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5DF2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5DF2#FFFFFF#000000##000000
##FF5DF21.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#8BA9EE
Tritanopia (blue-blind)
#FF6EA0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ff5df2;
/* rgb */ color: rgb(255, 93, 242);
/* oklch */ color: oklch(74.1% 0.253 331.1);
Tailwind
colors: {
  custom: {
    50: '#ff95f7',
    500: '#ff5df2',
    950: '#000000',
  },
}
SCSS
$custom: #ff5df2;
$custom-light: #ff95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5df2",
  "rgb": {
    "r": 255,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 304.815,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.74101,
    "c": 0.25266,
    "h": 331.1
  },
  "luminance": 0.355
}

Semantic roles & 50–950 ramp

primary
#FF5DF2
secondary
#C3F4C7
accent
#E61200
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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