#F045E7#F045E7

#F045E7 is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 69.3% C 0.264 H 330.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#F045E7
RGBrgb(240, 69, 231)
HSLhsl(303, 85%, 61%)
HSVhsv(303, 71%, 94%)
CMYKcmyk(0%, 71.3%, 3.7%, 5.9%)
CIE-LABlab(60.39, 80.96, -47.51)
CIE-LCHlch(60.39, 93.87, 329.60°)
OKLaboklab(69.34% 0.2296 -0.1311)
OKLCHoklch(69.34% 0.264 330.3)
XYZxyz(52.4869, 28.5551, 78.3331)
Luminance0.2855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F045E7 #45F04E
analogous
#A345F0 #F045E7 #F04591
triadic
#F045E7 #E7F045 #45E7F0
tetradic
#F045E7 #F0A345 #45F04E #4591F0
square
#F045E7 #F0A345 #45F04E #4591F0
split-complementary
#F045E7 #91F045 #45F0A3
monochromatic
#AD0EA4 #E512DA #F045E7 #F57EEE #F9B6F6

Accessibility & contrast

On white

3.13
#F045E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#F045E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F045E7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F045E7#FFFFFF#000000##000000
##F045E71.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3283EB
Deuteranopia (green-blind)
#789AE3
Tritanopia (blue-blind)
#F95B92
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f045e7;
/* rgb */ color: rgb(240, 69, 231);
/* oklch */ color: oklch(69.3% 0.264 330.3);
Tailwind
colors: {
  custom: {
    50: '#f988ef',
    500: '#f045e7',
    950: '#000000',
  },
}
SCSS
$custom: #f045e7;
$custom-light: #f988ef;
$custom-dark: #000000;
JSON
{
  "hex": "#f045e7",
  "rgb": {
    "r": 240,
    "g": 69,
    "b": 231
  },
  "hsl": {
    "h": 303.158,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.69337,
    "c": 0.26437,
    "h": 330.3
  },
  "luminance": 0.28551
}

Semantic roles & 50–950 ramp

primary
#F045E7
secondary
#A8E9AB
accent
#E21004
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F045E7

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

Preview Lab → · Contrast checker → · Palette generator →

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