#FF5CEB#FF5CEB

#FF5CEB is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 73.7% C 0.249 H 333.0°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#FF5CEB
RGBrgb(255, 92, 235)
HSLhsl(307, 100%, 68%)
HSVhsv(307, 64%, 100%)
CMYKcmyk(0%, 63.9%, 7.8%, 0%)
CIE-LABlab(65.68, 76.98, -41.24)
CIE-LCHlch(65.68, 87.33, 331.82°)
OKLaboklab(73.67% 0.2217 -0.1129)
OKLCHoklch(73.67% 0.249 333)
XYZxyz(60.0627, 34.9172, 82.1574)
Luminance0.3491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5CEB #5CFF70
analogous
#C15CFF #FF5CEB #FF5C99
triadic
#FF5CEB #EBFF5C #5CEBFF
tetradic
#FF5CEB #FFC15C #5CFF70 #5C99FF
square
#FF5CEB #FFC15C #5CFF70 #5C99FF
split-complementary
#FF5CEB #99FF5C #5CFFC1
monochromatic
#E100C5 #FF1FE3 #FF5CEB #FF99F3 #FFD6FA

Accessibility & contrast

On white

2.63
#FF5CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#FF5CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5CEB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5CEB#FFFFFF#000000##000000
##FF5CEB1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791EF
Deuteranopia (green-blind)
#8EA8E7
Tritanopia (blue-blind)
#FF6A9C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ff5ceb;
/* rgb */ color: rgb(255, 92, 235);
/* oklch */ color: oklch(73.7% 0.249 333.0);
Tailwind
colors: {
  custom: {
    50: '#ff95f2',
    500: '#ff5ceb',
    950: '#000000',
  },
}
SCSS
$custom: #ff5ceb;
$custom-light: #ff95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5ceb",
  "rgb": {
    "r": 255,
    "g": 92,
    "b": 235
  },
  "hsl": {
    "h": 307.362,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.73667,
    "c": 0.2488,
    "h": 333
  },
  "luminance": 0.34912
}

Semantic roles & 50–950 ramp

primary
#FF5CEB
secondary
#C2F4C9
accent
#E61C00
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E17
muted
#877E85

Preview Lab

Preview with #FF5CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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