#FF5AEB#FF5AEB

#FF5AEB is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 73.5% C 0.251 H 333.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#FF5AEB
RGBrgb(255, 90, 235)
HSLhsl(307, 100%, 68%)
HSVhsv(307, 65%, 100%)
CMYKcmyk(0%, 64.7%, 7.8%, 0%)
CIE-LABlab(65.42, 77.73, -41.66)
CIE-LCHlch(65.42, 88.19, 331.81°)
OKLaboklab(73.47% 0.2239 -0.114)
OKLCHoklch(73.47% 0.251 333)
XYZxyz(59.8918, 34.5752, 82.1004)
Luminance0.3457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5AEB #5AFF6E
analogous
#C15AFF #FF5AEB #FF5A98
triadic
#FF5AEB #EBFF5A #5AEBFF
tetradic
#FF5AEB #FFC15A #5AFF6E #5A98FF
square
#FF5AEB #FFC15A #5AFF6E #5A98FF
split-complementary
#FF5AEB #98FF5A #5AFFC1
monochromatic
#DF00C4 #FF1DE4 #FF5AEB #FF97F2 #FFD4FA

Accessibility & contrast

On white

2.65
#FF5AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#FF5AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5AEB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5AEB#FFFFFF#000000##000000
##FF5AEB1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490EF
Deuteranopia (green-blind)
#8DA7E7
Tritanopia (blue-blind)
#FF689B
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ff5aeb;
/* rgb */ color: rgb(255, 90, 235);
/* oklch */ color: oklch(73.5% 0.251 333.0);
Tailwind
colors: {
  custom: {
    50: '#ff94f2',
    500: '#ff5aeb',
    950: '#000000',
  },
}
SCSS
$custom: #ff5aeb;
$custom-light: #ff94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5aeb",
  "rgb": {
    "r": 255,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 307.273,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.73472,
    "c": 0.25127,
    "h": 333
  },
  "luminance": 0.3457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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