#F158E4#F158E4

#F158E4 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 71.0% C 0.241 H 331.3°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#F158E4
RGBrgb(241, 88, 228)
HSLhsl(305, 85%, 65%)
HSVhsv(305, 63%, 95%)
CMYKcmyk(0%, 63.5%, 5.4%, 5.5%)
CIE-LABlab(62.75, 74.09, -42.10)
CIE-LCHlch(62.75, 85.22, 330.40°)
OKLaboklab(71.02% 0.2113 -0.1156)
OKLCHoklch(71.02% 0.241 331.3)
XYZxyz(53.7688, 31.2857, 76.5905)
Luminance0.3128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F158E4 #58F165
analogous
#B258F1 #F158E4 #F15898
triadic
#F158E4 #E4F158 #58E4F1
tetradic
#F158E4 #F1B258 #58F165 #5898F1
square
#F158E4 #F1B258 #58F165 #5898F1
split-complementary
#F158E4 #98F158 #58F1B2
monochromatic
#BF10B0 #EC20DB #F158E4 #F690ED #FAC9F6

Accessibility & contrast

On white

2.89
#F158E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#F158E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F158E4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F158E4#FFFFFF#000000##000000
##F158E41.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8AE8
Deuteranopia (green-blind)
#849FE0
Tritanopia (blue-blind)
#FA6797
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f158e4;
/* rgb */ color: rgb(241, 88, 228);
/* oklch */ color: oklch(71.0% 0.241 331.3);
Tailwind
colors: {
  custom: {
    50: '#f991ed',
    500: '#f158e4',
    950: '#000000',
  },
}
SCSS
$custom: #f158e4;
$custom-light: #f991ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f158e4",
  "rgb": {
    "r": 241,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 305.098,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71023,
    "c": 0.24086,
    "h": 331.3
  },
  "luminance": 0.31282
}

Semantic roles & 50–950 ramp

primary
#F158E4
secondary
#B8EDBC
accent
#E11705
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F158E4

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

Preview Lab → · Contrast checker → · Palette generator →

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