#F045F0#F045F0

#F045F0 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.8% C 0.271 H 328.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#F045F0
RGBrgb(240, 69, 240)
HSLhsl(300, 85%, 61%)
HSVhsv(300, 71%, 94%)
CMYKcmyk(0%, 71.3%, 0%, 5.9%)
CIE-LABlab(60.85, 82.33, -51.80)
CIE-LCHlch(60.85, 97.27, 327.82°)
OKLaboklab(69.82% 0.2297 -0.1435)
OKLCHoklch(69.82% 0.271 328)
XYZxyz(53.7908, 29.0767, 85.2004)
Luminance0.2907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F045F0 #45F045
analogous
#9A45F0 #F045F0 #F0459A
triadic
#F045F0 #F0F045 #45F0F0
tetradic
#F045F0 #F09A45 #45F045 #459AF0
square
#F045F0 #F09A45 #45F045 #459AF0
split-complementary
#F045F0 #9AF045 #45F09A
monochromatic
#AD0EAD #E512E5 #F045F0 #F57EF5 #F9B6F9

Accessibility & contrast

On white

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

On black

6.81
#F045F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F045F0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F045F0#FFFFFF#000000##000000
##F045F01.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2385F5
Deuteranopia (green-blind)
#739AEC
Tritanopia (blue-blind)
#F75F97
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f045f0;
/* rgb */ color: rgb(240, 69, 240);
/* oklch */ color: oklch(69.8% 0.271 328.0);
Tailwind
colors: {
  custom: {
    50: '#f989f5',
    500: '#f045f0',
    950: '#000000',
  },
}
SCSS
$custom: #f045f0;
$custom-light: #f989f5;
$custom-dark: #000000;
JSON
{
  "hex": "#f045f0",
  "rgb": {
    "r": 240,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 300,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.69817,
    "c": 0.27085,
    "h": 328
  },
  "luminance": 0.29073
}

Semantic roles & 50–950 ramp

primary
#F045F0
secondary
#A8E9A8
accent
#E20404
background
#FFF9FF
surface
#FFF1FE
border
#D7CBD6
text
#180D17
muted
#867E85

Preview Lab

Preview with #F045F0

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

Preview Lab → · Contrast checker → · Palette generator →

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