#FF5CF2#FF5CF2

#FF5CF2 is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 74.0% C 0.254 H 331.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#FF5CF2
RGBrgb(255, 92, 242)
HSLhsl(305, 100%, 68%)
HSVhsv(305, 64%, 100%)
CMYKcmyk(0%, 63.9%, 5.1%, 0%)
CIE-LABlab(66.00, 78.04, -44.62)
CIE-LCHlch(66.00, 89.90, 330.24°)
OKLaboklab(74% 0.2224 -0.1226)
OKLCHoklch(74% 0.254 331.1)
XYZxyz(61.0940, 35.3297, 87.5887)
Luminance0.3533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5CF2 #5CFF69
analogous
#BA5CFF #FF5CF2 #FF5CA1
triadic
#FF5CF2 #F2FF5C #5CF2FF
tetradic
#FF5CF2 #FFBA5C #5CFF69 #5CA1FF
square
#FF5CF2 #FFBA5C #5CFF69 #5CA1FF
split-complementary
#FF5CF2 #A1FF5C #5CFFBA
monochromatic
#E100CF #FF1FED #FF5CF2 #FF99F7 #FFD6FC

Accessibility & contrast

On white

2.60
#FF5CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#FF5CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5CF2
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5CF2#FFFFFF#000000##000000
##FF5CF21.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#8BA8EE
Tritanopia (blue-blind)
#FF6D9F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff5cf2;
/* rgb */ color: rgb(255, 92, 242);
/* oklch */ color: oklch(74.0% 0.254 331.1);
Tailwind
colors: {
  custom: {
    50: '#ff95f7',
    500: '#ff5cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ff5cf2;
$custom-light: #ff95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5cf2",
  "rgb": {
    "r": 255,
    "g": 92,
    "b": 242
  },
  "hsl": {
    "h": 304.785,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.74003,
    "c": 0.2539,
    "h": 331.1
  },
  "luminance": 0.35325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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