#F05DFC#F05DFC

#F05DFC is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 72.6% C 0.253 H 324.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#F05DFC
RGBrgb(240, 93, 252)
HSLhsl(295, 96%, 68%)
HSVhsv(295, 63%, 99%)
CMYKcmyk(4.8%, 63.1%, 0%, 1.2%)
CIE-LABlab(64.47, 75.82, -52.70)
CIE-LCHlch(64.47, 92.33, 325.20°)
OKLaboklab(72.62% 0.2062 -0.1463)
OKLCHoklch(72.62% 0.253 324.6)
XYZxyz(57.4188, 33.3856, 95.4963)
Luminance0.3338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05DFC #69FC5D
analogous
#A15DFC #F05DFC #FC5DB8
triadic
#F05DFC #FCF05D #5DFCF0
tetradic
#F05DFC #FCA15D #69FC5D #5DB8FC
square
#F05DFC #FCA15D #69FC5D #5DB8FC
split-complementary
#F05DFC #B8FC5D #5DFCA1
monochromatic
#CA04DB #EA21FB #F05DFC #F699FD #FBD5FE

Accessibility & contrast

On white

2.74
#F05DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#F05DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F05DFC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05DFC#FFFFFF#000000##000000
##F05DFC1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E91FF
Deuteranopia (green-blind)
#79A3F8
Tritanopia (blue-blind)
#F575A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f05dfc;
/* rgb */ color: rgb(240, 93, 252);
/* oklch */ color: oklch(72.6% 0.253 324.6);
Tailwind
colors: {
  custom: {
    50: '#f994fe',
    500: '#f05dfc',
    950: '#000000',
  },
}
SCSS
$custom: #f05dfc;
$custom-light: #f994fe;
$custom-dark: #000000;
JSON
{
  "hex": "#f05dfc",
  "rgb": {
    "r": 240,
    "g": 93,
    "b": 252
  },
  "hsl": {
    "h": 295.472,
    "s": 96.364,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72623,
    "c": 0.25281,
    "h": 324.6
  },
  "luminance": 0.33382
}

Semantic roles & 50–950 ramp

primary
#F05DFC
secondary
#C5F3C2
accent
#E60011
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E18
muted
#867E86

Preview Lab

Preview with #F05DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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