#FF9AEF#FF9AEF

#FF9AEF is a light, vivid purple. Relative luminance 0.506; OKLCH L 81.7% C 0.159 H 332.9°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#FF9AEF
RGBrgb(255, 154, 239)
HSLhsl(310, 100%, 80%)
HSVhsv(310, 40%, 100%)
CMYKcmyk(0%, 39.6%, 6.3%, 0%)
CIE-LABlab(76.44, 49.56, -26.78)
CIE-LCHlch(76.44, 56.34, 331.61°)
OKLaboklab(81.68% 0.1414 -0.0723)
OKLCHoklch(81.68% 0.159 332.9)
XYZxyz(68.3751, 50.6068, 87.8112)
Luminance0.5060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9AEF #9AFFAA
analogous
#DC9AFF #FF9AEF #FF9ABC
triadic
#FF9AEF #EFFF9A #9AEFFF
tetradic
#FF9AEF #FFDC9A #9AFFAA #9ABCFF
square
#FF9AEF #FFDC9A #9AFFAA #9ABCFF
split-complementary
#FF9AEF #BCFF9A #9AFFDC
monochromatic
#FF20DC #FF5DE5 #FF9AEF #FFD7F9 #FFE0FA

Accessibility & contrast

On white

1.89
#FF9AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.12
#FF9AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9AEF
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9AEF#FFFFFF#000000##000000
##FF9AEF1.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B4F2
Deuteranopia (green-blind)
#B3C2EC
Tritanopia (blue-blind)
#FFA0BA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ff9aef;
/* rgb */ color: rgb(255, 154, 239);
/* oklch */ color: oklch(81.7% 0.159 332.9);
Tailwind
colors: {
  custom: {
    50: '#ffbaf4',
    500: '#ff9aef',
    950: '#000000',
  },
}
SCSS
$custom: #ff9aef;
$custom-light: #ffbaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9aef",
  "rgb": {
    "r": 255,
    "g": 154,
    "b": 239
  },
  "hsl": {
    "h": 309.505,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.8168,
    "c": 0.15884,
    "h": 332.9
  },
  "luminance": 0.50603
}

Semantic roles & 50–950 ramp

primary
#FF9AEF
secondary
#5BE270
accent
#E62400
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FF9AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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