#F04FE3#F04FE3

#F04FE3 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 70.0% C 0.251 H 331.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#F04FE3
RGBrgb(240, 79, 227)
HSLhsl(305, 84%, 63%)
HSVhsv(305, 67%, 94%)
CMYKcmyk(0%, 67.1%, 5.4%, 5.9%)
CIE-LABlab(61.37, 77.02, -43.72)
CIE-LCHlch(61.37, 88.57, 330.42°)
OKLaboklab(69.98% 0.2198 -0.1202)
OKLCHoklch(69.98% 0.251 331.3)
XYZxyz(52.5962, 29.6673, 75.6143)
Luminance0.2966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04FE3 #4FF05C
analogous
#AD4FF0 #F04FE3 #F04F92
triadic
#F04FE3 #E3F04F #4FE3F0
tetradic
#F04FE3 #F0AD4F #4FF05C #4F92F0
square
#F04FE3 #F0AD4F #4FF05C #4F92F0
split-complementary
#F04FE3 #92F04F #4FF0AD
monochromatic
#B50FA8 #EB17DA #F04FE3 #F587EC #FAC0F5

Accessibility & contrast

On white

3.03
#F04FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#F04FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04FE3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04FE3#FFFFFF#000000##000000
##F04FE31.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E7
Deuteranopia (green-blind)
#7F9CDF
Tritanopia (blue-blind)
#F96093
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f04fe3;
/* rgb */ color: rgb(240, 79, 227);
/* oklch */ color: oklch(70.0% 0.251 331.3);
Tailwind
colors: {
  custom: {
    50: '#f98dec',
    500: '#f04fe3',
    950: '#000000',
  },
}
SCSS
$custom: #f04fe3;
$custom-light: #f98dec;
$custom-dark: #000000;
JSON
{
  "hex": "#f04fe3",
  "rgb": {
    "r": 240,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 304.845,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.69978,
    "c": 0.25053,
    "h": 331.3
  },
  "luminance": 0.29663
}

Semantic roles & 50–950 ramp

primary
#F04FE3
secondary
#B0EBB5
accent
#E11705
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F04FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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