#F05FE4#F05FE4

#F05FE4 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.6% C 0.231 H 331.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#F05FE4
RGBrgb(240, 95, 228)
HSLhsl(305, 83%, 66%)
HSVhsv(305, 60%, 94%)
CMYKcmyk(0%, 60.4%, 5%, 5.9%)
CIE-LABlab(63.60, 71.08, -40.77)
CIE-LCHlch(63.60, 81.94, 330.16°)
OKLaboklab(71.62% 0.2023 -0.1118)
OKLCHoklch(71.62% 0.231 331.1)
XYZxyz(54.0308, 32.3150, 76.7754)
Luminance0.3231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F05FE4 #5FF06B
analogous
#B45FF0 #F05FE4 #F05F9B
triadic
#F05FE4 #E4F05F #5FE4F0
tetradic
#F05FE4 #F0B45F #5FF06B #5F9BF0
square
#F05FE4 #F0B45F #5FF06B #5F9BF0
split-complementary
#F05FE4 #9BF05F #5FF0B4
monochromatic
#C212B4 #EB27DB #F05FE4 #F597ED #FACFF7

Accessibility & contrast

On white

2.81
#F05FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#F05FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F05FE4
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F05FE4#FFFFFF#000000##000000
##F05FE41.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#578DE8
Deuteranopia (green-blind)
#87A1E0
Tritanopia (blue-blind)
#F96D99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f05fe4;
/* rgb */ color: rgb(240, 95, 228);
/* oklch */ color: oklch(71.6% 0.231 331.1);
Tailwind
colors: {
  custom: {
    50: '#f895ed',
    500: '#f05fe4',
    950: '#000000',
  },
}
SCSS
$custom: #f05fe4;
$custom-light: #f895ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f05fe4",
  "rgb": {
    "r": 240,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 304.966,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.71616,
    "c": 0.23116,
    "h": 331.1
  },
  "luminance": 0.32311
}

Semantic roles & 50–950 ramp

primary
#F05FE4
secondary
#BDEEC1
accent
#DF1806
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F05FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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