#FF9BF2#FF9BF2

#FF9BF2 is a light, vivid purple. Relative luminance 0.511; OKLCH L 81.9% C 0.160 H 331.8°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#FF9BF2
RGBrgb(255, 155, 242)
HSLhsl(308, 100%, 80%)
HSVhsv(308, 39%, 100%)
CMYKcmyk(0%, 39.2%, 5.1%, 0%)
CIE-LABlab(76.75, 49.56, -27.94)
CIE-LCHlch(76.75, 56.89, 330.59°)
OKLaboklab(81.95% 0.1407 -0.0756)
OKLCHoklch(81.95% 0.16 331.8)
XYZxyz(68.9877, 51.1170, 90.2199)
Luminance0.5111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF9BF2 #9BFFA8
analogous
#DA9BFF #FF9BF2 #FF9BC0
triadic
#FF9BF2 #F2FF9B #9BF2FF
tetradic
#FF9BF2 #FFDA9B #9BFFA8 #9BC0FF
square
#FF9BF2 #FFDA9B #9BFFA8 #9BC0FF
split-complementary
#FF9BF2 #C0FF9B #9BFFDA
monochromatic
#FF21E2 #FF5EEA #FF9BF2 #FFD8FA #FFE0FB

Accessibility & contrast

On white

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

On black

11.22
#FF9BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF9BF2
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF9BF2#FFFFFF#000000##000000
##FF9BF21.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B5F5
Deuteranopia (green-blind)
#B2C3EF
Tritanopia (blue-blind)
#FFA1BC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #ff9bf2;
/* rgb */ color: rgb(255, 155, 242);
/* oklch */ color: oklch(81.9% 0.160 331.8);
Tailwind
colors: {
  custom: {
    50: '#ffbaf6',
    500: '#ff9bf2',
    950: '#000000',
  },
}
SCSS
$custom: #ff9bf2;
$custom-light: #ffbaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ff9bf2",
  "rgb": {
    "r": 255,
    "g": 155,
    "b": 242
  },
  "hsl": {
    "h": 307.8,
    "s": 100,
    "l": 80.392
  },
  "oklch": {
    "l": 0.81949,
    "c": 0.15971,
    "h": 331.8
  },
  "luminance": 0.51113
}

Semantic roles & 50–950 ramp

primary
#FF9BF2
secondary
#5CE26D
accent
#E61E00
background
#FFFDFF
surface
#FFF8FE
border
#D7D1D6
text
#181217
muted
#868285

Preview Lab

Preview with #FF9BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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