#F05FDC#F05FDC

#F05FDC is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.2% C 0.225 H 333.5°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#F05FDC
RGBrgb(240, 95, 220)
HSLhsl(308, 83%, 66%)
HSVhsv(308, 60%, 94%)
CMYKcmyk(0%, 60.4%, 8.3%, 5.9%)
CIE-LABlab(63.24, 69.83, -36.85)
CIE-LCHlch(63.24, 78.96, 332.18°)
OKLaboklab(71.24% 0.2014 -0.1006)
OKLCHoklch(71.24% 0.225 333.5)
XYZxyz(52.9458, 31.8810, 71.0613)
Luminance0.3188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05FDC #5FF073
analogous
#BB5FF0 #F05FDC #F05F93
triadic
#F05FDC #DCF05F #5FDCF0
tetradic
#F05FDC #F0BB5F #5FF073 #5F93F0
square
#F05FDC #F0BB5F #5FF073 #5F93F0
split-complementary
#F05FDC #93F05F #5FF0BB
monochromatic
#C212AA #EB27D0 #F05FDC #F597E8 #FACFF4

Accessibility & contrast

On white

2.85
#F05FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#F05FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F05FDC
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05FDC#FFFFFF#000000##000000
##F05FDC1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE0
Deuteranopia (green-blind)
#8AA1D8
Tritanopia (blue-blind)
#FA6A95
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f05fdc;
/* rgb */ color: rgb(240, 95, 220);
/* oklch */ color: oklch(71.2% 0.225 333.5);
Tailwind
colors: {
  custom: {
    50: '#f895e7',
    500: '#f05fdc',
    950: '#000000',
  },
}
SCSS
$custom: #f05fdc;
$custom-light: #f895e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f05fdc",
  "rgb": {
    "r": 240,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 308.276,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71238,
    "c": 0.22511,
    "h": 333.5
  },
  "luminance": 0.31877
}

Semantic roles & 50–950 ramp

primary
#F05FDC
secondary
#BDEEC4
accent
#DF2406
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F05FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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