#F281E2#F281E2

#F281E2 is a light, vivid purple. Relative luminance 0.401; OKLCH L 76.0% C 0.180 H 332.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#F281E2
RGBrgb(242, 129, 226)
HSLhsl(308, 81%, 73%)
HSVhsv(308, 47%, 95%)
CMYKcmyk(0%, 46.7%, 6.6%, 5.1%)
CIE-LABlab(69.52, 55.95, -30.43)
CIE-LCHlch(69.52, 63.69, 331.46°)
OKLaboklab(76.01% 0.16 -0.0826)
OKLCHoklch(76.01% 0.18 332.7)
XYZxyz(58.1954, 40.0723, 76.6062)
Luminance0.4007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281E2 #81F291
analogous
#CA81F2 #F281E2 #F281A9
triadic
#F281E2 #E2F281 #81E2F2
tetradic
#F281E2 #F2CA81 #81F291 #81A9F2
square
#F281E2 #F2CA81 #81F291 #81A9F2
split-complementary
#F281E2 #A9F281 #81F2CA
monochromatic
#E117C5 #EC4AD5 #F281E2 #F8B8EF #FCE3F9

Accessibility & contrast

On white

2.33
#F281E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#F281E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281E2
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281E2#FFFFFF#000000##000000
##F281E21.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#9EB0DF
Tritanopia (blue-blind)
#FB88A7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f281e2;
/* rgb */ color: rgb(242, 129, 226);
/* oklch */ color: oklch(76.0% 0.180 332.7);
Tailwind
colors: {
  custom: {
    50: '#f8a9eb',
    500: '#f281e2',
    950: '#000000',
  },
}
SCSS
$custom: #f281e2;
$custom-light: #f8a9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f281e2",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 308.496,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76006,
    "c": 0.18001,
    "h": 332.7
  },
  "luminance": 0.40069
}

Semantic roles & 50–950 ramp

primary
#F281E2
secondary
#D7F4DB
accent
#DE2608
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F281E2

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

Preview Lab → · Contrast checker → · Palette generator →

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