#F281EF#F281EF

#F281EF is a light, vivid purple. Relative luminance 0.408; OKLCH L 76.6% C 0.191 H 328.2°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#F281EF
RGBrgb(242, 129, 239)
HSLhsl(302, 81%, 73%)
HSVhsv(302, 47%, 95%)
CMYKcmyk(0%, 46.7%, 1.2%, 5.1%)
CIE-LABlab(70.04, 58.15, -36.78)
CIE-LCHlch(70.04, 68.80, 327.69°)
OKLaboklab(76.57% 0.1624 -0.1006)
OKLCHoklch(76.57% 0.191 328.2)
XYZxyz(60.0473, 40.8130, 86.3595)
Luminance0.4081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281EF #81F284
analogous
#BC81F2 #F281EF #F281B6
triadic
#F281EF #EFF281 #81EFF2
tetradic
#F281EF #F2BC81 #81F284 #81B6F2
square
#F281EF #F2BC81 #81F284 #81B6F2
split-complementary
#F281EF #B6F281 #81F2BC
monochromatic
#E117DC #EC4AE8 #F281EF #F8B8F6 #FCE3FB

Accessibility & contrast

On white

2.29
#F281EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#F281EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281EF
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281EF#FFFFFF#000000##000000
##F281EF1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A2F3
Deuteranopia (green-blind)
#99B1EC
Tritanopia (blue-blind)
#F98CAD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f281ef;
/* rgb */ color: rgb(242, 129, 239);
/* oklch */ color: oklch(76.6% 0.191 328.2);
Tailwind
colors: {
  custom: {
    50: '#f8a9f4',
    500: '#f281ef',
    950: '#000000',
  },
}
SCSS
$custom: #f281ef;
$custom-light: #f8a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#f281ef",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 301.593,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76567,
    "c": 0.19108,
    "h": 328.2
  },
  "luminance": 0.4081
}

Semantic roles & 50–950 ramp

primary
#F281EF
secondary
#D7F4D8
accent
#DE0E08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181017
muted
#867F85

Preview Lab

Preview with #F281EF

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

Preview Lab → · Contrast checker → · Palette generator →

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