#F158EC#F158EC

#F158EC is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.4% C 0.247 H 329.1°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#F158EC
RGBrgb(241, 88, 236)
HSLhsl(302, 85%, 65%)
HSVhsv(302, 63%, 95%)
CMYKcmyk(0%, 63.5%, 2.1%, 5.5%)
CIE-LABlab(63.13, 75.35, -45.96)
CIE-LCHlch(63.13, 88.26, 328.62°)
OKLaboklab(71.42% 0.2119 -0.1267)
OKLCHoklch(71.42% 0.247 329.1)
XYZxyz(54.9052, 31.7402, 82.5752)
Luminance0.3174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F158EC #58F15D
analogous
#AA58F1 #F158EC #F158A0
triadic
#F158EC #ECF158 #58ECF1
tetradic
#F158EC #F1AA58 #58F15D #58A0F1
square
#F158EC #F1AA58 #58F15D #58A0F1
split-complementary
#F158EC #A0F158 #58F1AA
monochromatic
#BF10B9 #EC20E6 #F158EC #F690F2 #FAC9F9

Accessibility & contrast

On white

2.86
#F158EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#F158EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F158EC
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F158EC#FFFFFF#000000##000000
##F158EC1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF0
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#F96B9B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #f158ec;
/* rgb */ color: rgb(241, 88, 236);
/* oklch */ color: oklch(71.4% 0.247 329.1);
Tailwind
colors: {
  custom: {
    50: '#f991f2',
    500: '#f158ec',
    950: '#000000',
  },
}
SCSS
$custom: #f158ec;
$custom-light: #f991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#f158ec",
  "rgb": {
    "r": 241,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 301.961,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.71422,
    "c": 0.24692,
    "h": 329.1
  },
  "luminance": 0.31736
}

Semantic roles & 50–950 ramp

primary
#F158EC
secondary
#B8EDBA
accent
#E10C05
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #F158EC

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

Preview Lab → · Contrast checker → · Palette generator →

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