#F281F2#F281F2

#F281F2 is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.7% C 0.194 H 327.3°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#F281F2
RGBrgb(242, 129, 242)
HSLhsl(300, 81%, 73%)
HSVhsv(300, 47%, 95%)
CMYKcmyk(0%, 46.7%, 0%, 5.1%)
CIE-LABlab(70.17, 58.67, -38.23)
CIE-LCHlch(70.17, 70.03, 326.91°)
OKLaboklab(76.7% 0.1629 -0.1048)
OKLCHoklch(76.7% 0.194 327.3)
XYZxyz(60.4942, 40.9918, 88.7130)
Luminance0.4099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281F2 #81F281
analogous
#B981F2 #F281F2 #F281B9
triadic
#F281F2 #F2F281 #81F2F2
tetradic
#F281F2 #F2B981 #81F281 #81B9F2
square
#F281F2 #F2B981 #81F281 #81B9F2
split-complementary
#F281F2 #B9F281 #81F2B9
monochromatic
#E117E1 #EC4AEC #F281F2 #F8B8F8 #FCE3FC

Accessibility & contrast

On white

2.28
#F281F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#F281F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281F2
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281F2#FFFFFF#000000##000000
##F281F21.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#98B1EF
Tritanopia (blue-blind)
#F88DAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f281f2;
/* rgb */ color: rgb(242, 129, 242);
/* oklch */ color: oklch(76.7% 0.194 327.3);
Tailwind
colors: {
  custom: {
    50: '#f8a9f6',
    500: '#f281f2',
    950: '#000000',
  },
}
SCSS
$custom: #f281f2;
$custom-light: #f8a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#f281f2",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 300,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76701,
    "c": 0.19372,
    "h": 327.3
  },
  "luminance": 0.40989
}

Semantic roles & 50–950 ramp

primary
#F281F2
secondary
#D7F4D7
accent
#DE0808
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85

Preview Lab

Preview with #F281F2

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

Preview Lab → · Contrast checker → · Palette generator →

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