#FB8AFA#FB8AFA

#FB8AFA is a light, vivid purple. Relative luminance 0.456; OKLCH L 79.4% C 0.192 H 327.5°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#FB8AFA
RGBrgb(251, 138, 250)
HSLhsl(301, 93%, 76%)
HSVhsv(301, 45%, 98%)
CMYKcmyk(0%, 45%, 0.4%, 1.6%)
CIE-LABlab(73.28, 58.22, -37.68)
CIE-LCHlch(73.28, 69.35, 327.09°)
OKLaboklab(79.35% 0.1619 -0.1031)
OKLCHoklch(79.35% 0.192 327.5)
XYZxyz(66.1263, 45.5917, 95.7409)
Luminance0.4559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8AFA #8AFB8B
analogous
#C48AFB #FB8AFA #FB8AC2
triadic
#FB8AFA #FAFB8A #8AFAFB
tetradic
#FB8AFA #FBC48A #8AFB8B #8AC2FB
square
#FB8AFA #FBC48A #8AFB8B #8AC2FB
split-complementary
#FB8AFA #C2FB8A #8AFBC4
monochromatic
#F714F5 #F94FF7 #FB8AFA #FDC5FD #FEE1FE

Accessibility & contrast

On white

2.08
#FB8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.12
#FB8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8AFA
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8AFA#FFFFFF#000000##000000
##FB8AFA1.002.0810.1210.12
#FFFFFF2.081.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFE
Deuteranopia (green-blind)
#A1B9F6
Tritanopia (blue-blind)
#FF95B7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #fb8afa;
/* rgb */ color: rgb(251, 138, 250);
/* oklch */ color: oklch(79.4% 0.192 327.5);
Tailwind
colors: {
  custom: {
    50: '#ffaffc',
    500: '#fb8afa',
    950: '#000000',
  },
}
SCSS
$custom: #fb8afa;
$custom-light: #ffaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8afa",
  "rgb": {
    "r": 251,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 300.531,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.79353,
    "c": 0.19197,
    "h": 327.5
  },
  "luminance": 0.45588
}

Semantic roles & 50–950 ramp

primary
#FB8AFA
secondary
#D5F6D5
accent
#E60200
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181117
muted
#868085

Preview Lab

Preview with #FB8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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