#FF5EF2#FF5EF2

#FF5EF2 is a light, highly saturated purple. Relative luminance 0.357; OKLCH L 74.2% C 0.251 H 331.1°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#FF5EF2
RGBrgb(255, 94, 242)
HSLhsl(305, 100%, 68%)
HSVhsv(305, 63%, 100%)
CMYKcmyk(0%, 63.1%, 5.1%, 0%)
CIE-LABlab(66.28, 77.29, -44.19)
CIE-LCHlch(66.28, 89.03, 330.24°)
OKLaboklab(74.2% 0.2202 -0.1214)
OKLCHoklch(74.2% 0.251 331.1)
XYZxyz(61.2695, 35.6807, 87.6472)
Luminance0.3568 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5EF2 #5EFF6B
analogous
#BB5EFF #FF5EF2 #FF5EA1
triadic
#FF5EF2 #F2FF5E #5EF2FF
tetradic
#FF5EF2 #FFBB5E #5EFF6B #5EA1FF
square
#FF5EF2 #FFBB5E #5EFF6B #5EA1FF
split-complementary
#FF5EF2 #A1FF5E #5EFFBB
monochromatic
#E300D0 #FF21ED #FF5EF2 #FF9BF7 #FFD8FC

Accessibility & contrast

On white

2.58
#FF5EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#FF5EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5EF2
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5EF2#FFFFFF#000000##000000
##FF5EF21.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ff5ef2;
/* rgb */ color: rgb(255, 94, 242);
/* oklch */ color: oklch(74.2% 0.251 331.1);
Tailwind
colors: {
  custom: {
    50: '#ff96f7',
    500: '#ff5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ff5ef2;
$custom-light: #ff96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5ef2",
  "rgb": {
    "r": 255,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 304.845,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.742,
    "c": 0.25142,
    "h": 331.1
  },
  "luminance": 0.35676
}

Semantic roles & 50–950 ramp

primary
#FF5EF2
secondary
#C4F5C8
accent
#E61300
background
#FFF9FF
surface
#FFF2FE
border
#D7CCD6
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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