#FF9EF2#FF9EF2

#FF9EF2 is a very light, vivid purple. Relative luminance 0.521; OKLCH L 82.4% C 0.155 H 331.8°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#FF9EF2
RGBrgb(255, 158, 242)
HSLhsl(308, 100%, 81%)
HSVhsv(308, 38%, 100%)
CMYKcmyk(0%, 38%, 5.1%, 0%)
CIE-LABlab(77.36, 48.04, -27.01)
CIE-LCHlch(77.36, 55.11, 330.66°)
OKLaboklab(82.41% 0.1364 -0.073)
OKLCHoklch(82.41% 0.155 331.8)
XYZxyz(69.4931, 52.1280, 90.3884)
Luminance0.5212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9EF2 #9EFFAB
analogous
#DB9EFF #FF9EF2 #FF9EC1
triadic
#FF9EF2 #F2FF9E #9EF2FF
tetradic
#FF9EF2 #FFDB9E #9EFFAB #9EC1FF
square
#FF9EF2 #FFDB9E #9EFFAB #9EC1FF
split-complementary
#FF9EF2 #C1FF9E #9EFFDB
monochromatic
#FF24E2 #FF61EA #FF9EF2 #FFDBFA #FFE0FB

Accessibility & contrast

On white

1.84
#FF9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#FF9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9EF2
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9EF2#FFFFFF#000000##000000
##FF9EF21.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB7F5
Deuteranopia (green-blind)
#B4C4EF
Tritanopia (blue-blind)
#FFA4BD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #ff9ef2;
/* rgb */ color: rgb(255, 158, 242);
/* oklch */ color: oklch(82.4% 0.155 331.8);
Tailwind
colors: {
  custom: {
    50: '#ffbcf6',
    500: '#ff9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #ff9ef2;
$custom-light: #ffbcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9ef2",
  "rgb": {
    "r": 255,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 308.041,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.82406,
    "c": 0.15466,
    "h": 331.8
  },
  "luminance": 0.52125
}

Semantic roles & 50–950 ramp

primary
#FF9EF2
secondary
#5FE370
accent
#E61F00
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FF9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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