#F281EC#F281EC

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

Color values

HEX#F281EC
RGBrgb(242, 129, 236)
HSLhsl(303, 81%, 73%)
HSVhsv(303, 47%, 95%)
CMYKcmyk(0%, 46.7%, 2.5%, 5.1%)
CIE-LABlab(69.92, 57.63, -35.32)
CIE-LCHlch(69.92, 67.60, 328.50°)
OKLaboklab(76.44% 0.1619 -0.0965)
OKLCHoklch(76.44% 0.188 329.2)
XYZxyz(59.6078, 40.6372, 84.0447)
Luminance0.4063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281EC #81F287
analogous
#C081F2 #F281EC #F281B3
triadic
#F281EC #ECF281 #81ECF2
tetradic
#F281EC #F2C081 #81F287 #81B3F2
square
#F281EC #F2C081 #81F287 #81B3F2
split-complementary
#F281EC #B3F281 #81F2C0
monochromatic
#E117D7 #EC4AE4 #F281EC #F8B8F4 #FCE3FB

Accessibility & contrast

On white

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

On black

9.13
#F281EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281EC
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281EC#FFFFFF#000000##000000
##F281EC1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F0
Deuteranopia (green-blind)
#9AB0E9
Tritanopia (blue-blind)
#F98BAC
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f281ec;
/* rgb */ color: rgb(242, 129, 236);
/* oklch */ color: oklch(76.4% 0.188 329.2);
Tailwind
colors: {
  custom: {
    50: '#f8a9f2',
    500: '#f281ec',
    950: '#000000',
  },
}
SCSS
$custom: #f281ec;
$custom-light: #f8a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f281ec",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 303.186,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76435,
    "c": 0.18846,
    "h": 329.2
  },
  "luminance": 0.40634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F281EC

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

Preview Lab → · Contrast checker → · Palette generator →

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