#FA81EB#FA81EB

#FA81EB is a light, vivid purple. Relative luminance 0.420; OKLCH L 77.4% C 0.193 H 332.1°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#FA81EB
RGBrgb(250, 129, 235)
HSLhsl(307, 92%, 74%)
HSVhsv(307, 48%, 98%)
CMYKcmyk(0%, 48.4%, 6%, 2%)
CIE-LABlab(70.89, 59.74, -33.19)
CIE-LCHlch(70.89, 68.34, 330.94°)
OKLaboklab(77.35% 0.1704 -0.0903)
OKLCHoklch(77.35% 0.193 332.1)
XYZxyz(62.2697, 42.0265, 83.4132)
Luminance0.4202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA81EB #81FA90
analogous
#CD81FA #FA81EB #FA81AF
triadic
#FA81EB #EBFA81 #81EBFA
tetradic
#FA81EB #FACD81 #81FA90 #81AFFA
square
#FA81EB #FACD81 #81FA90 #81AFFA
split-complementary
#FA81EB #AFFA81 #81FACD
monochromatic
#F50BD8 #F846E2 #FA81EB #FCBCF4 #FEE2FA

Accessibility & contrast

On white

2.23
#FA81EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#FA81EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA81EB
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA81EB#FFFFFF#000000##000000
##FA81EB1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3EF
Deuteranopia (green-blind)
#A0B4E8
Tritanopia (blue-blind)
#FF89AB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #fa81eb;
/* rgb */ color: rgb(250, 129, 235);
/* oklch */ color: oklch(77.4% 0.193 332.1);
Tailwind
colors: {
  custom: {
    50: '#fea9f1',
    500: '#fa81eb',
    950: '#000000',
  },
}
SCSS
$custom: #fa81eb;
$custom-light: #fea9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#fa81eb",
  "rgb": {
    "r": 250,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 307.438,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77352,
    "c": 0.19285,
    "h": 332.1
  },
  "luminance": 0.42023
}

Semantic roles & 50–950 ramp

primary
#FA81EB
secondary
#D5F6D9
accent
#E61C00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #FA81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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