#F05FE2#F05FE2

#F05FE2 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.5% C 0.230 H 331.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#F05FE2
RGBrgb(240, 95, 226)
HSLhsl(306, 83%, 66%)
HSVhsv(306, 60%, 94%)
CMYKcmyk(0%, 60.4%, 5.8%, 5.9%)
CIE-LABlab(63.51, 70.77, -39.79)
CIE-LCHlch(63.51, 81.19, 330.65°)
OKLaboklab(71.52% 0.2021 -0.109)
OKLCHoklch(71.52% 0.23 331.7)
XYZxyz(53.7547, 32.2046, 75.3216)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05FE2 #5FF06D
analogous
#B55FF0 #F05FE2 #F05F99
triadic
#F05FE2 #E2F05F #5FE2F0
tetradic
#F05FE2 #F0B55F #5FF06D #5F99F0
square
#F05FE2 #F0B55F #5FF06D #5F99F0
split-complementary
#F05FE2 #99F05F #5FF0B5
monochromatic
#C212B1 #EB27D8 #F05FE2 #F597EC #FACFF6

Accessibility & contrast

On white

2.82
#F05FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#F05FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F05FE2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05FE2#FFFFFF#000000##000000
##F05FE21.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#588DE6
Deuteranopia (green-blind)
#88A1DE
Tritanopia (blue-blind)
#F96C98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f05fe2;
/* rgb */ color: rgb(240, 95, 226);
/* oklch */ color: oklch(71.5% 0.230 331.7);
Tailwind
colors: {
  custom: {
    50: '#f895eb',
    500: '#f05fe2',
    950: '#000000',
  },
}
SCSS
$custom: #f05fe2;
$custom-light: #f895eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f05fe2",
  "rgb": {
    "r": 240,
    "g": 95,
    "b": 226
  },
  "hsl": {
    "h": 305.793,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.7152,
    "c": 0.22963,
    "h": 331.7
  },
  "luminance": 0.32201
}

Semantic roles & 50–950 ramp

primary
#F05FE2
secondary
#BDEEC2
accent
#DF1B06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F05FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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