#F05FDF#F05FDF

#F05FDF is a light, highly saturated purple. Relative luminance 0.320; OKLCH L 71.4% C 0.227 H 332.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#F05FDF
RGBrgb(240, 95, 223)
HSLhsl(307, 83%, 66%)
HSVhsv(307, 60%, 94%)
CMYKcmyk(0%, 60.4%, 7.1%, 5.9%)
CIE-LABlab(63.38, 70.30, -38.33)
CIE-LCHlch(63.38, 80.07, 331.40°)
OKLaboklab(71.38% 0.2018 -0.1048)
OKLCHoklch(71.38% 0.227 332.5)
XYZxyz(53.3467, 32.0414, 73.1726)
Luminance0.3204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05FDF #5FF070
analogous
#B85FF0 #F05FDF #F05F97
triadic
#F05FDF #DFF05F #5FDFF0
tetradic
#F05FDF #F0B85F #5FF070 #5F97F0
square
#F05FDF #F0B85F #5FF070 #5F97F0
split-complementary
#F05FDF #97F05F #5FF0B8
monochromatic
#C212AE #EB27D4 #F05FDF #F597EA #FACFF5

Accessibility & contrast

On white

2.84
#F05FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#F05FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F05FDF
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05FDF#FFFFFF#000000##000000
##F05FDF1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#89A1DB
Tritanopia (blue-blind)
#FA6B97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f05fdf;
/* rgb */ color: rgb(240, 95, 223);
/* oklch */ color: oklch(71.4% 0.227 332.5);
Tailwind
colors: {
  custom: {
    50: '#f895e9',
    500: '#f05fdf',
    950: '#000000',
  },
}
SCSS
$custom: #f05fdf;
$custom-light: #f895e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f05fdf",
  "rgb": {
    "r": 240,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 307.034,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71378,
    "c": 0.22735,
    "h": 332.5
  },
  "luminance": 0.32037
}

Semantic roles & 50–950 ramp

primary
#F05FDF
secondary
#BDEEC3
accent
#DF2006
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F05FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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