#FF5AEC#FF5AEC

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

Color values

HEX#FF5AEC
RGBrgb(255, 90, 236)
HSLhsl(307, 100%, 68%)
HSVhsv(307, 65%, 100%)
CMYKcmyk(0%, 64.7%, 7.5%, 0%)
CIE-LABlab(65.46, 77.88, -42.15)
CIE-LCHlch(65.46, 88.55, 331.58°)
OKLaboklab(73.52% 0.224 -0.1154)
OKLCHoklch(73.52% 0.252 332.7)
XYZxyz(60.0366, 34.6332, 82.8634)
Luminance0.3463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF5AEC #5AFF6D
analogous
#BF5AFF #FF5AEC #FF5A9A
triadic
#FF5AEC #ECFF5A #5AECFF
tetradic
#FF5AEC #FFBF5A #5AFF6D #5A9AFF
square
#FF5AEC #FFBF5A #5AFF6D #5A9AFF
split-complementary
#FF5AEC #9AFF5A #5AFFBF
monochromatic
#DF00C5 #FF1DE5 #FF5AEC #FF97F3 #FFD4FA

Accessibility & contrast

On white

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

On black

7.93
#FF5AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF5AEC
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF5AEC#FFFFFF#000000##000000
##FF5AEC1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#FF699C
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ff5aec;
/* rgb */ color: rgb(255, 90, 236);
/* oklch */ color: oklch(73.5% 0.252 332.7);
Tailwind
colors: {
  custom: {
    50: '#ff94f2',
    500: '#ff5aec',
    950: '#000000',
  },
}
SCSS
$custom: #ff5aec;
$custom-light: #ff94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ff5aec",
  "rgb": {
    "r": 255,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 306.909,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7352,
    "c": 0.25199,
    "h": 332.7
  },
  "luminance": 0.34628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF5AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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