#F158E5#F158E5

#F158E5 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 71.1% C 0.242 H 331.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#F158E5
RGBrgb(241, 88, 229)
HSLhsl(305, 85%, 65%)
HSVhsv(305, 63%, 95%)
CMYKcmyk(0%, 63.5%, 5%, 5.5%)
CIE-LABlab(62.79, 74.25, -42.58)
CIE-LCHlch(62.79, 85.59, 330.17°)
OKLaboklab(71.07% 0.2114 -0.117)
OKLCHoklch(71.07% 0.242 331)
XYZxyz(53.9080, 31.3413, 77.3237)
Luminance0.3134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F158E5 #58F164
analogous
#B158F1 #F158E5 #F15899
triadic
#F158E5 #E5F158 #58E5F1
tetradic
#F158E5 #F1B158 #58F164 #5899F1
square
#F158E5 #F1B158 #58F164 #5899F1
split-complementary
#F158E5 #99F158 #58F1B1
monochromatic
#BF10B1 #EC20DC #F158E5 #F690EE #FAC9F7

Accessibility & contrast

On white

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

On black

7.27
#F158E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F158E5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F158E5#FFFFFF#000000##000000
##F158E51.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8AE9
Deuteranopia (green-blind)
#83A0E1
Tritanopia (blue-blind)
#FA6897
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #f158e5;
/* rgb */ color: rgb(241, 88, 229);
/* oklch */ color: oklch(71.1% 0.242 331.0);
Tailwind
colors: {
  custom: {
    50: '#f991ed',
    500: '#f158e5',
    950: '#000000',
  },
}
SCSS
$custom: #f158e5;
$custom-light: #f991ed;
$custom-dark: #000000;
JSON
{
  "hex": "#f158e5",
  "rgb": {
    "r": 241,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 304.706,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71072,
    "c": 0.24162,
    "h": 331
  },
  "luminance": 0.31337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F158E5

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

Preview Lab → · Contrast checker → · Palette generator →

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