#F281E6#F281E6

#F281E6 is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.2% C 0.183 H 331.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#F281E6
RGBrgb(242, 129, 230)
HSLhsl(306, 81%, 73%)
HSVhsv(306, 47%, 95%)
CMYKcmyk(0%, 46.7%, 5%, 5.1%)
CIE-LABlab(69.68, 56.62, -32.40)
CIE-LCHlch(69.68, 65.23, 330.22°)
OKLaboklab(76.18% 0.1608 -0.0882)
OKLCHoklch(76.18% 0.183 331.3)
XYZxyz(58.7507, 40.2944, 79.5306)
Luminance0.4029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281E6 #81F28D
analogous
#C681F2 #F281E6 #F281AD
triadic
#F281E6 #E6F281 #81E6F2
tetradic
#F281E6 #F2C681 #81F28D #81ADF2
square
#F281E6 #F2C681 #81F28D #81ADF2
split-complementary
#F281E6 #ADF281 #81F2C6
monochromatic
#E117CC #EC4ADB #F281E6 #F8B8F1 #FCE3F9

Accessibility & contrast

On white

2.32
#F281E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#F281E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281E6
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281E6#FFFFFF#000000##000000
##F281E61.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA0E9
Deuteranopia (green-blind)
#9CB0E3
Tritanopia (blue-blind)
#FA89A9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f281e6;
/* rgb */ color: rgb(242, 129, 230);
/* oklch */ color: oklch(76.2% 0.183 331.3);
Tailwind
colors: {
  custom: {
    50: '#f8a9ee',
    500: '#f281e6',
    950: '#000000',
  },
}
SCSS
$custom: #f281e6;
$custom-light: #f8a9ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f281e6",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 230
  },
  "hsl": {
    "h": 306.372,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76175,
    "c": 0.18334,
    "h": 331.3
  },
  "luminance": 0.40291
}

Semantic roles & 50–950 ramp

primary
#F281E6
secondary
#D7F4DA
accent
#DE1F08
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F281E6

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

Preview Lab → · Contrast checker → · Palette generator →

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