#FB2FE3#FB2FE3

#FB2FE3 is a light, highly saturated purple. Relative luminance 0.281; OKLCH L 69.3% C 0.286 H 333.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#FB2FE3
RGBrgb(251, 47, 227)
HSLhsl(307, 96%, 58%)
HSVhsv(307, 81%, 98%)
CMYKcmyk(0%, 81.3%, 9.6%, 1.6%)
CIE-LABlab(59.97, 88.34, -45.80)
CIE-LCHlch(59.97, 99.51, 332.60°)
OKLaboklab(69.31% 0.2566 -0.1257)
OKLCHoklch(69.31% 0.286 333.9)
XYZxyz(54.6659, 28.0933, 75.2016)
Luminance0.2809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB2FE3 #2FFB47
analogous
#AD2FFB #FB2FE3 #FB2F7D
triadic
#FB2FE3 #E3FB2F #2FE3FB
tetradic
#FB2FE3 #FBAD2F #2FFB47 #2F7DFB
square
#FB2FE3 #FBAD2F #2FFB47 #2F7DFB
split-complementary
#FB2FE3 #7DFB2F #2FFBAD
monochromatic
#AC0398 #E804CE #FB2FE3 #FC6BEB #FDA7F3

Accessibility & contrast

On white

3.17
#FB2FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#FB2FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB2FE3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB2FE3#FFFFFF#000000##000000
##FB2FE31.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#267EE7
Deuteranopia (green-blind)
#7D9BDE
Tritanopia (blue-blind)
#FF488B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #fb2fe3;
/* rgb */ color: rgb(251, 47, 227);
/* oklch */ color: oklch(69.3% 0.286 333.9);
Tailwind
colors: {
  custom: {
    50: '#ff81ec',
    500: '#fb2fe3',
    950: '#000000',
  },
}
SCSS
$custom: #fb2fe3;
$custom-light: #ff81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#fb2fe3",
  "rgb": {
    "r": 251,
    "g": 47,
    "b": 227
  },
  "hsl": {
    "h": 307.059,
    "s": 96.226,
    "l": 58.431
  },
  "oklch": {
    "l": 0.69312,
    "c": 0.28577,
    "h": 333.9
  },
  "luminance": 0.28088
}

Semantic roles & 50–950 ramp

primary
#FB2FE3
secondary
#9AEBA4
accent
#FF4229
background
#FFF8FE
surface
#FFF0FD
border
#D7CBD5
text
#190C16
muted
#877D84

Preview Lab

Preview with #FB2FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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