#F058E2#F058E2

#F058E2 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.8% C 0.239 H 331.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#F058E2
RGBrgb(240, 88, 226)
HSLhsl(306, 84%, 64%)
HSVhsv(306, 63%, 94%)
CMYKcmyk(0%, 63.3%, 5.8%, 5.9%)
CIE-LABlab(62.51, 73.54, -41.37)
CIE-LCHlch(62.51, 84.38, 330.64°)
OKLaboklab(70.79% 0.2101 -0.1135)
OKLCHoklch(70.79% 0.239 331.6)
XYZxyz(53.1523, 30.9997, 75.1208)
Luminance0.3100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F058E2 #58F066
analogous
#B258F0 #F058E2 #F05896
triadic
#F058E2 #E2F058 #58E2F0
tetradic
#F058E2 #F0B258 #58F066 #5896F0
square
#F058E2 #F0B258 #58F066 #5896F0
split-complementary
#F058E2 #96F058 #58F0B2
monochromatic
#BD11AD #EB20D8 #F058E2 #F590EC #FAC8F6

Accessibility & contrast

On white

2.92
#F058E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#F058E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F058E2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F058E2#FFFFFF#000000##000000
##F058E21.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5089E6
Deuteranopia (green-blind)
#849FDE
Tritanopia (blue-blind)
#F96795
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f058e2;
/* rgb */ color: rgb(240, 88, 226);
/* oklch */ color: oklch(70.8% 0.239 331.6);
Tailwind
colors: {
  custom: {
    50: '#f891eb',
    500: '#f058e2',
    950: '#000000',
  },
}
SCSS
$custom: #f058e2;
$custom-light: #f891eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f058e2",
  "rgb": {
    "r": 240,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 305.526,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70789,
    "c": 0.23881,
    "h": 331.6
  },
  "luminance": 0.30996
}

Semantic roles & 50–950 ramp

primary
#F058E2
secondary
#B8ECBC
accent
#E01A06
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F058E2

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

Preview Lab → · Contrast checker → · Palette generator →

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