#F045F2#F045F2

#F045F2 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 69.9% C 0.272 H 327.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#F045F2
RGBrgb(240, 69, 242)
HSLhsl(299, 87%, 61%)
HSVhsv(299, 71%, 95%)
CMYKcmyk(0.8%, 71.5%, 0%, 5.1%)
CIE-LABlab(60.95, 82.64, -52.75)
CIE-LCHlch(60.95, 98.04, 327.45°)
OKLaboklab(69.93% 0.2297 -0.1463)
OKLCHoklch(69.93% 0.272 327.5)
XYZxyz(54.0895, 29.1962, 86.7737)
Luminance0.2919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F045F2 #47F245
analogous
#9945F2 #F045F2 #F2459E
triadic
#F045F2 #F2F045 #45F2F0
tetradic
#F045F2 #F29945 #47F245 #459EF2
square
#F045F2 #F29945 #47F245 #459EF2
split-complementary
#F045F2 #9EF245 #45F299
monochromatic
#AE0CB0 #E710E9 #F045F2 #F57EF6 #F9B7FA

Accessibility & contrast

On white

3.07
#F045F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#F045F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F045F2
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F045F2#FFFFFF#000000##000000
##F045F21.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F85F7
Deuteranopia (green-blind)
#729BEE
Tritanopia (blue-blind)
#F76098
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f045f2;
/* rgb */ color: rgb(240, 69, 242);
/* oklch */ color: oklch(69.9% 0.272 327.5);
Tailwind
colors: {
  custom: {
    50: '#f989f7',
    500: '#f045f2',
    950: '#000000',
  },
}
SCSS
$custom: #f045f2;
$custom-light: #f989f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f045f2",
  "rgb": {
    "r": 240,
    "g": 69,
    "b": 242
  },
  "hsl": {
    "h": 299.306,
    "s": 86.935,
    "l": 60.98
  },
  "oklch": {
    "l": 0.69926,
    "c": 0.27231,
    "h": 327.5
  },
  "luminance": 0.29192
}

Semantic roles & 50–950 ramp

primary
#F045F2
secondary
#AAEAA9
accent
#E30205
background
#FFF9FF
surface
#FFF1FF
border
#D7CBD7
text
#180D17
muted
#867E85

Preview Lab

Preview with #F045F2

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

Preview Lab → · Contrast checker → · Palette generator →

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