#FF9CEF#FF9CEF

#FF9CEF is a light, vivid purple. Relative luminance 0.513; OKLCH L 82.0% C 0.155 H 333.0°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#FF9CEF
RGBrgb(255, 156, 239)
HSLhsl(310, 100%, 81%)
HSVhsv(310, 39%, 100%)
CMYKcmyk(0%, 38.8%, 6.3%, 0%)
CIE-LABlab(76.84, 48.55, -26.17)
CIE-LCHlch(76.84, 55.15, 331.68°)
OKLaboklab(81.98% 0.1385 -0.0706)
OKLCHoklch(81.98% 0.155 333)
XYZxyz(68.7079, 51.2725, 87.9221)
Luminance0.5127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9CEF #9CFFAC
analogous
#DD9CFF #FF9CEF #FF9CBD
triadic
#FF9CEF #EFFF9C #9CEFFF
tetradic
#FF9CEF #FFDD9C #9CFFAC #9CBDFF
square
#FF9CEF #FFDD9C #9CFFAC #9CBDFF
split-complementary
#FF9CEF #BDFF9C #9CFFDD
monochromatic
#FF22DB #FF5FE5 #FF9CEF #FFD9F9 #FFE0FA

Accessibility & contrast

On white

1.87
#FF9CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#FF9CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9CEF
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9CEF#FFFFFF#000000##000000
##FF9CEF1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB5F2
Deuteranopia (green-blind)
#B4C3EC
Tritanopia (blue-blind)
#FFA1BB
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #ff9cef;
/* rgb */ color: rgb(255, 156, 239);
/* oklch */ color: oklch(82.0% 0.155 333.0);
Tailwind
colors: {
  custom: {
    50: '#ffbbf4',
    500: '#ff9cef',
    950: '#000000',
  },
}
SCSS
$custom: #ff9cef;
$custom-light: #ffbbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9cef",
  "rgb": {
    "r": 255,
    "g": 156,
    "b": 239
  },
  "hsl": {
    "h": 309.697,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.81984,
    "c": 0.15547,
    "h": 333
  },
  "luminance": 0.51269
}

Semantic roles & 50–950 ramp

primary
#FF9CEF
secondary
#5DE272
accent
#E62500
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FF9CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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