#F05FD8#F05FD8

#F05FD8 is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.1% C 0.222 H 334.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#F05FD8
RGBrgb(240, 95, 216)
HSLhsl(310, 83%, 66%)
HSVhsv(310, 60%, 94%)
CMYKcmyk(0%, 60.4%, 10%, 5.9%)
CIE-LABlab(63.07, 69.22, -34.88)
CIE-LCHlch(63.07, 77.51, 333.26°)
OKLaboklab(71.05% 0.2008 -0.095)
OKLCHoklch(71.05% 0.222 334.7)
XYZxyz(52.4224, 31.6716, 68.3047)
Luminance0.3167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05FD8 #5FF077
analogous
#BF5FF0 #F05FD8 #F05F8F
triadic
#F05FD8 #D8F05F #5FD8F0
tetradic
#F05FD8 #F0BF5F #5FF077 #5F8FF0
square
#F05FD8 #F0BF5F #5FF077 #5F8FF0
split-complementary
#F05FD8 #8FF05F #5FF0BF
monochromatic
#C212A5 #EB27CA #F05FD8 #F597E6 #FACFF3

Accessibility & contrast

On white

2.86
#F05FD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#F05FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F05FD8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05FD8#FFFFFF#000000##000000
##F05FD81.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8BDC
Deuteranopia (green-blind)
#8CA0D4
Tritanopia (blue-blind)
#FB6893
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f05fd8;
/* rgb */ color: rgb(240, 95, 216);
/* oklch */ color: oklch(71.1% 0.222 334.7);
Tailwind
colors: {
  custom: {
    50: '#f894e4',
    500: '#f05fd8',
    950: '#000000',
  },
}
SCSS
$custom: #f05fd8;
$custom-light: #f894e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f05fd8",
  "rgb": {
    "r": 240,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 309.931,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71054,
    "c": 0.22215,
    "h": 334.7
  },
  "luminance": 0.31668
}

Semantic roles & 50–950 ramp

primary
#F05FD8
secondary
#BDEEC5
accent
#DF2A06
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84

Preview Lab

Preview with #F05FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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