#FF7BFB#FF7BFB

#FF7BFB is a light, highly saturated purple. Relative luminance 0.424; OKLCH L 77.9% C 0.218 H 328.6°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#FF7BFB
RGBrgb(255, 123, 251)
HSLhsl(302, 100%, 74%)
HSVhsv(302, 52%, 100%)
CMYKcmyk(0%, 51.8%, 1.6%, 0%)
CIE-LABlab(71.14, 66.56, -41.51)
CIE-LCHlch(71.14, 78.44, 328.05°)
OKLaboklab(77.89% 0.1864 -0.1139)
OKLCHoklch(77.89% 0.218 328.6)
XYZxyz(65.7347, 42.3949, 95.9687)
Luminance0.4239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF7BFB #7BFF7F
analogous
#C17BFF #FF7BFB #FF7BB9
triadic
#FF7BFB #FBFF7B #7BFBFF
tetradic
#FF7BFB #FFC17B #7BFF7F #7BB9FF
square
#FF7BFB #FFC17B #7BFF7F #7BB9FF
split-complementary
#FF7BFB #B9FF7B #7BFFC1
monochromatic
#FF01F7 #FF3EF9 #FF7BFB #FFB8FD #FFE0FE

Accessibility & contrast

On white

2.22
#FF7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#FF7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FF7BFB
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF7BFB#FFFFFF#000000##000000
##FF7BFB1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#99B4F7
Tritanopia (blue-blind)
#FF89B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ff7bfb;
/* rgb */ color: rgb(255, 123, 251);
/* oklch */ color: oklch(77.9% 0.218 328.6);
Tailwind
colors: {
  custom: {
    50: '#ffa6fd',
    500: '#ff7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #ff7bfb;
$custom-light: #ffa6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ff7bfb",
  "rgb": {
    "r": 255,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 301.818,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7789,
    "c": 0.21843,
    "h": 328.6
  },
  "luminance": 0.42391
}

Semantic roles & 50–950 ramp

primary
#FF7BFB
secondary
#D4F7D5
accent
#E60700
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #FF7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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