#F281EB#F281EB

#F281EB is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.4% C 0.188 H 329.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#F281EB
RGBrgb(242, 129, 235)
HSLhsl(304, 81%, 73%)
HSVhsv(304, 47%, 95%)
CMYKcmyk(0%, 46.7%, 2.9%, 5.1%)
CIE-LABlab(69.88, 57.46, -34.84)
CIE-LCHlch(69.88, 67.20, 328.77°)
OKLaboklab(76.39% 0.1617 -0.0951)
OKLCHoklch(76.39% 0.188 329.5)
XYZxyz(59.4629, 40.5793, 83.2817)
Luminance0.4058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281EB #81F288
analogous
#C181F2 #F281EB #F281B2
triadic
#F281EB #EBF281 #81EBF2
tetradic
#F281EB #F2C181 #81F288 #81B2F2
square
#F281EB #F2C181 #81F288 #81B2F2
split-complementary
#F281EB #B2F281 #81F2C1
monochromatic
#E117D5 #EC4AE2 #F281EB #F8B8F4 #FCE3FB

Accessibility & contrast

On white

2.30
#F281EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#F281EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281EB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281EB#FFFFFF#000000##000000
##F281EB1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1EF
Deuteranopia (green-blind)
#9BB0E8
Tritanopia (blue-blind)
#F98BAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f281eb;
/* rgb */ color: rgb(242, 129, 235);
/* oklch */ color: oklch(76.4% 0.188 329.5);
Tailwind
colors: {
  custom: {
    50: '#f8a9f1',
    500: '#f281eb',
    950: '#000000',
  },
}
SCSS
$custom: #f281eb;
$custom-light: #f8a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f281eb",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 303.717,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76391,
    "c": 0.1876,
    "h": 329.5
  },
  "luminance": 0.40576
}

Semantic roles & 50–950 ramp

primary
#F281EB
secondary
#D7F4D9
accent
#DE1508
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F281EB

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

Preview Lab → · Contrast checker → · Palette generator →

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