#FF9FF2#FF9FF2

#FF9FF2 is a very light, vivid purple. Relative luminance 0.525; OKLCH L 82.6% C 0.153 H 331.9°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#FF9FF2
RGBrgb(255, 159, 242)
HSLhsl(308, 100%, 81%)
HSVhsv(308, 38%, 100%)
CMYKcmyk(0%, 37.6%, 5.1%, 0%)
CIE-LABlab(77.56, 47.53, -26.69)
CIE-LCHlch(77.56, 54.51, 330.68°)
OKLaboklab(82.56% 0.1349 -0.0721)
OKLCHoklch(82.56% 0.153 331.9)
XYZxyz(69.6644, 52.4705, 90.4455)
Luminance0.5247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9FF2 #9FFFAC
analogous
#DC9FFF #FF9FF2 #FF9FC2
triadic
#FF9FF2 #F2FF9F #9FF2FF
tetradic
#FF9FF2 #FFDC9F #9FFFAC #9FC2FF
square
#FF9FF2 #FFDC9F #9FFFAC #9FC2FF
split-complementary
#FF9FF2 #C2FF9F #9FFFDC
monochromatic
#FF25E1 #FF62EA #FF9FF2 #FFDCFA #FFE0FB

Accessibility & contrast

On white

1.83
#FF9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#FF9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9FF2
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9FF2#FFFFFF#000000##000000
##FF9FF21.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB7F5
Deuteranopia (green-blind)
#B5C5EF
Tritanopia (blue-blind)
#FFA5BE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ff9ff2;
/* rgb */ color: rgb(255, 159, 242);
/* oklch */ color: oklch(82.6% 0.153 331.9);
Tailwind
colors: {
  custom: {
    50: '#ffbdf6',
    500: '#ff9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #ff9ff2;
$custom-light: #ffbdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9ff2",
  "rgb": {
    "r": 255,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 308.125,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.8256,
    "c": 0.15297,
    "h": 331.9
  },
  "luminance": 0.52467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FF9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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