#F281EA#F281EA

#F281EA is a light, vivid purple. Relative luminance 0.405; OKLCH L 76.3% C 0.187 H 329.9°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#F281EA
RGBrgb(242, 129, 234)
HSLhsl(304, 81%, 73%)
HSVhsv(304, 47%, 95%)
CMYKcmyk(0%, 46.7%, 3.3%, 5.1%)
CIE-LABlab(69.84, 57.29, -34.35)
CIE-LCHlch(69.84, 66.80, 329.05°)
OKLaboklab(76.35% 0.1615 -0.0937)
OKLCHoklch(76.35% 0.187 329.9)
XYZxyz(59.3188, 40.5216, 82.5229)
Luminance0.4052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281EA #81F289
analogous
#C281F2 #F281EA #F281B1
triadic
#F281EA #EAF281 #81EAF2
tetradic
#F281EA #F2C281 #81F289 #81B1F2
square
#F281EA #F2C281 #81F289 #81B1F2
split-complementary
#F281EA #B1F281 #81F2C2
monochromatic
#E117D3 #EC4AE1 #F281EA #F8B8F3 #FCE3FA

Accessibility & contrast

On white

2.31
#F281EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#F281EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281EA
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281EA#FFFFFF#000000##000000
##F281EA1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EE
Deuteranopia (green-blind)
#9BB0E7
Tritanopia (blue-blind)
#F98AAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f281ea;
/* rgb */ color: rgb(242, 129, 234);
/* oklch */ color: oklch(76.3% 0.187 329.9);
Tailwind
colors: {
  custom: {
    50: '#f8a9f1',
    500: '#f281ea',
    950: '#000000',
  },
}
SCSS
$custom: #f281ea;
$custom-light: #f8a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#f281ea",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 304.248,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76347,
    "c": 0.18674,
    "h": 329.9
  },
  "luminance": 0.40518
}

Semantic roles & 50–950 ramp

primary
#F281EA
secondary
#D7F4D9
accent
#DE1708
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F281EA

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

Preview Lab → · Contrast checker → · Palette generator →

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