#F045E5#F045E5

#F045E5 is a light, highly saturated purple. Relative luminance 0.284; OKLCH L 69.2% C 0.263 H 330.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#F045E5
RGBrgb(240, 69, 229)
HSLhsl(304, 85%, 61%)
HSVhsv(304, 71%, 94%)
CMYKcmyk(0%, 71.3%, 4.6%, 5.9%)
CIE-LABlab(60.29, 80.66, -46.54)
CIE-LCHlch(60.29, 93.12, 330.01°)
OKLaboklab(69.23% 0.2295 -0.1283)
OKLCHoklch(69.23% 0.263 330.8)
XYZxyz(52.2060, 28.4428, 76.8539)
Luminance0.2844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F045E5 #45F050
analogous
#A645F0 #F045E5 #F0458F
triadic
#F045E5 #E5F045 #45E5F0
tetradic
#F045E5 #F0A645 #45F050 #458FF0
square
#F045E5 #F0A645 #45F050 #458FF0
split-complementary
#F045E5 #8FF045 #45F0A6
monochromatic
#AD0EA2 #E512D8 #F045E5 #F57EED #F9B6F5

Accessibility & contrast

On white

3.14
#F045E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#F045E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F045E5
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F045E5#FFFFFF#000000##000000
##F045E51.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E9
Deuteranopia (green-blind)
#799AE1
Tritanopia (blue-blind)
#F95A91
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f045e5;
/* rgb */ color: rgb(240, 69, 229);
/* oklch */ color: oklch(69.2% 0.263 330.8);
Tailwind
colors: {
  custom: {
    50: '#f988ee',
    500: '#f045e5',
    950: '#000000',
  },
}
SCSS
$custom: #f045e5;
$custom-light: #f988ee;
$custom-dark: #000000;
JSON
{
  "hex": "#f045e5",
  "rgb": {
    "r": 240,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 303.86,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.69232,
    "c": 0.26295,
    "h": 330.8
  },
  "luminance": 0.28439
}

Semantic roles & 50–950 ramp

primary
#F045E5
secondary
#A8E9AC
accent
#E21204
background
#FFF9FE
surface
#FFF1FD
border
#D7CBD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F045E5

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

Preview Lab → · Contrast checker → · Palette generator →

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