#F058F8#F058F8

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

Color values

HEX#F058F8
RGBrgb(240, 88, 248)
HSLhsl(297, 92%, 66%)
HSVhsv(297, 65%, 97%)
CMYKcmyk(3.2%, 64.5%, 0%, 2.7%)
CIE-LABlab(63.58, 77.07, -51.91)
CIE-LCHlch(63.58, 92.92, 326.04°)
OKLaboklab(71.91% 0.2114 -0.144)
OKLCHoklch(71.91% 0.256 325.7)
XYZxyz(56.3670, 32.2856, 92.0515)
Luminance0.3228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F058F8 #60F858
analogous
#A058F8 #F058F8 #F858B0
triadic
#F058F8 #F8F058 #58F8F0
tetradic
#F058F8 #F8A058 #60F858 #58B0F8
square
#F058F8 #F8A058 #60F858 #58B0F8
split-complementary
#F058F8 #B0F858 #58F8A0
monochromatic
#C309CD #EB1DF6 #F058F8 #F593FA #FBCDFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F058F8#FFFFFF#000000##000000
##F058F81.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFD
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#F670A1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #f058f8;
/* rgb */ color: rgb(240, 88, 248);
/* oklch */ color: oklch(71.9% 0.256 325.7);
Tailwind
colors: {
  custom: {
    50: '#f992fb',
    500: '#f058f8',
    950: '#000000',
  },
}
SCSS
$custom: #f058f8;
$custom-light: #f992fb;
$custom-dark: #000000;
JSON
{
  "hex": "#f058f8",
  "rgb": {
    "r": 240,
    "g": 88,
    "b": 248
  },
  "hsl": {
    "h": 297,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71912,
    "c": 0.25578,
    "h": 325.7
  },
  "luminance": 0.32282
}

Semantic roles & 50–950 ramp

primary
#F058F8
secondary
#BEF0BB
accent
#E6000B
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85

Preview Lab

Preview with #F058F8

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

Preview Lab → · Contrast checker → · Palette generator →

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