#F05DF2#F05DF2

#F05DF2 is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 72.1% C 0.245 H 327.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#F05DF2
RGBrgb(240, 93, 242)
HSLhsl(299, 85%, 66%)
HSVhsv(299, 62%, 95%)
CMYKcmyk(0.8%, 61.6%, 0%, 5.1%)
CIE-LABlab(63.97, 74.14, -47.97)
CIE-LCHlch(63.97, 88.31, 327.10°)
OKLaboklab(72.1% 0.2058 -0.1326)
OKLCHoklch(72.1% 0.245 327.2)
XYZxyz(55.8756, 32.7684, 87.3691)
Luminance0.3276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05DF2 #5FF25D
analogous
#A65DF2 #F05DF2 #F25DA9
triadic
#F05DF2 #F2F05D #5DF2F0
tetradic
#F05DF2 #F2A65D #5FF25D #5DA9F2
square
#F05DF2 #F2A65D #5FF25D #5DA9F2
split-complementary
#F05DF2 #A9F25D #5DF2A6
monochromatic
#C210C5 #EB24ED #F05DF2 #F596F7 #FACEFB

Accessibility & contrast

On white

2.78
#F05DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#F05DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F05DF2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05DF2#FFFFFF#000000##000000
##F05DF21.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#7FA2EE
Tritanopia (blue-blind)
#F771A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f05df2;
/* rgb */ color: rgb(240, 93, 242);
/* oklch */ color: oklch(72.1% 0.245 327.2);
Tailwind
colors: {
  custom: {
    50: '#f894f7',
    500: '#f05df2',
    950: '#000000',
  },
}
SCSS
$custom: #f05df2;
$custom-light: #f894f7;
$custom-dark: #000000;
JSON
{
  "hex": "#f05df2",
  "rgb": {
    "r": 240,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 299.195,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.721,
    "c": 0.24476,
    "h": 327.2
  },
  "luminance": 0.32765
}

Semantic roles & 50–950 ramp

primary
#F05DF2
secondary
#BDEEBD
accent
#E20407
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F05DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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