#F281F8#F281F8

#F281F8 is a light, vivid purple. Relative luminance 0.414; OKLCH L 77.0% C 0.199 H 325.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#F281F8
RGBrgb(242, 129, 248)
HSLhsl(297, 89%, 74%)
HSVhsv(297, 48%, 97%)
CMYKcmyk(2.4%, 48%, 0%, 2.7%)
CIE-LABlab(70.43, 59.73, -41.11)
CIE-LCHlch(70.43, 72.51, 325.46°)
OKLaboklab(76.98% 0.1639 -0.113)
OKLCHoklch(76.98% 0.199 325.4)
XYZxyz(61.4101, 41.3581, 93.5370)
Luminance0.4135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F281F8 #87F881
analogous
#B781F8 #F281F8 #F881C3
triadic
#F281F8 #F8F281 #81F8F2
tetradic
#F281F8 #F8B781 #87F881 #81C3F8
square
#F281F8 #F8B781 #87F881 #81C3F8
split-complementary
#F281F8 #C3F881 #81F8B7
monochromatic
#E60DF1 #EC47F5 #F281F8 #F8BBFB #FCE2FD

Accessibility & contrast

On white

2.27
#F281F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#F281F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F281F8
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F281F8#FFFFFF#000000##000000
##F281F81.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FC
Deuteranopia (green-blind)
#95B1F4
Tritanopia (blue-blind)
#F78FB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #f281f8;
/* rgb */ color: rgb(242, 129, 248);
/* oklch */ color: oklch(77.0% 0.199 325.4);
Tailwind
colors: {
  custom: {
    50: '#f9a9fb',
    500: '#f281f8',
    950: '#000000',
  },
}
SCSS
$custom: #f281f8;
$custom-light: #f9a9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f281f8",
  "rgb": {
    "r": 242,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 296.975,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76975,
    "c": 0.19909,
    "h": 325.4
  },
  "luminance": 0.41355
}

Semantic roles & 50–950 ramp

primary
#F281F8
secondary
#D7F5D6
accent
#E6000C
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85

Preview Lab

Preview with #F281F8

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

Preview Lab → · Contrast checker → · Palette generator →

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