#F04CE1#F04CE1

#F04CE1 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.6% C 0.253 H 331.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#F04CE1
RGBrgb(240, 76, 225)
HSLhsl(305, 85%, 62%)
HSVhsv(305, 68%, 94%)
CMYKcmyk(0%, 68.3%, 6.3%, 5.9%)
CIE-LABlab(60.90, 77.76, -43.33)
CIE-LCHlch(60.90, 89.02, 330.87°)
OKLaboklab(69.61% 0.2227 -0.119)
OKLCHoklch(69.61% 0.253 331.9)
XYZxyz(52.1103, 29.1345, 74.0985)
Luminance0.2913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F04CE1 #4CF05B
analogous
#AD4CF0 #F04CE1 #F04C8F
triadic
#F04CE1 #E1F04C #4CE1F0
tetradic
#F04CE1 #F0AD4C #4CF05B #4C8FF0
square
#F04CE1 #F0AD4C #4CF05B #4C8FF0
split-complementary
#F04CE1 #8FF04C #4CF0AD
monochromatic
#B30FA4 #EB14D7 #F04CE1 #F584EA #F9BDF4

Accessibility & contrast

On white

3.08
#F04CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#F04CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F04CE1
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F04CE1#FFFFFF#000000##000000
##F04CE11.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#7F9BDD
Tritanopia (blue-blind)
#FA5D91
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f04ce1;
/* rgb */ color: rgb(240, 76, 225);
/* oklch */ color: oklch(69.6% 0.253 331.9);
Tailwind
colors: {
  custom: {
    50: '#f98beb',
    500: '#f04ce1',
    950: '#000000',
  },
}
SCSS
$custom: #f04ce1;
$custom-light: #f98beb;
$custom-dark: #000000;
JSON
{
  "hex": "#f04ce1",
  "rgb": {
    "r": 240,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 305.488,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6961,
    "c": 0.25253,
    "h": 331.9
  },
  "luminance": 0.2913
}

Semantic roles & 50–950 ramp

primary
#F04CE1
secondary
#AEEAB3
accent
#E11904
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F04CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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