#FB82F2#FB82F2

#FB82F2 is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.9% C 0.198 H 330.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#FB82F2
RGBrgb(251, 130, 242)
HSLhsl(304, 94%, 75%)
HSVhsv(304, 48%, 98%)
CMYKcmyk(0%, 48.2%, 3.6%, 1.6%)
CIE-LABlab(71.48, 60.70, -36.11)
CIE-LCHlch(71.48, 70.63, 329.26°)
OKLaboklab(77.91% 0.1714 -0.0986)
OKLCHoklch(77.91% 0.198 330.1)
XYZxyz(63.7927, 42.8890, 88.9055)
Luminance0.4289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB82F2 #82FB8B
analogous
#C882FB #FB82F2 #FB82B6
triadic
#FB82F2 #F2FB82 #82F2FB
tetradic
#FB82F2 #FBC882 #82FB8B #82B6FB
square
#FB82F2 #FBC882 #82FB8B #82B6FB
split-complementary
#FB82F2 #B6FB82 #82FBC8
monochromatic
#F70BE6 #F947EC #FB82F2 #FDBDF8 #FEE1FC

Accessibility & contrast

On white

2.19
#FB82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#FB82F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB82F2
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB82F2#FFFFFF#000000##000000
##FB82F21.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F6
Deuteranopia (green-blind)
#9EB5EE
Tritanopia (blue-blind)
#FF8CAF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fb82f2;
/* rgb */ color: rgb(251, 130, 242);
/* oklch */ color: oklch(77.9% 0.198 330.1);
Tailwind
colors: {
  custom: {
    50: '#ffaaf6',
    500: '#fb82f2',
    950: '#000000',
  },
}
SCSS
$custom: #fb82f2;
$custom-light: #ffaaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#fb82f2",
  "rgb": {
    "r": 251,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 304.463,
    "s": 93.798,
    "l": 74.706
  },
  "oklch": {
    "l": 0.77909,
    "c": 0.19773,
    "h": 330.1
  },
  "luminance": 0.42885
}

Semantic roles & 50–950 ramp

primary
#FB82F2
secondary
#D5F6D7
accent
#E61100
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #FB82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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