#F158DC#F158DC

#F158DC is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.6% C 0.235 H 333.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#F158DC
RGBrgb(241, 88, 220)
HSLhsl(308, 85%, 65%)
HSVhsv(308, 63%, 95%)
CMYKcmyk(0%, 63.5%, 8.7%, 5.5%)
CIE-LABlab(62.38, 72.87, -38.19)
CIE-LCHlch(62.38, 82.27, 332.34°)
OKLaboklab(70.64% 0.2105 -0.1043)
OKLCHoklch(70.64% 0.235 333.6)
XYZxyz(52.6839, 30.8517, 70.8765)
Luminance0.3085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F158DC #58F16D
analogous
#B958F1 #F158DC #F15890
triadic
#F158DC #DCF158 #58DCF1
tetradic
#F158DC #F1B958 #58F16D #5890F1
square
#F158DC #F1B958 #58F16D #5890F1
split-complementary
#F158DC #90F158 #58F1B9
monochromatic
#BF10A7 #EC20D0 #F158DC #F690E8 #FAC9F4

Accessibility & contrast

On white

2.93
#F158DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#F158DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F158DC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F158DC#FFFFFF#000000##000000
##F158DC1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E0
Deuteranopia (green-blind)
#879FD8
Tritanopia (blue-blind)
#FB6492
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #f158dc;
/* rgb */ color: rgb(241, 88, 220);
/* oklch */ color: oklch(70.6% 0.235 333.6);
Tailwind
colors: {
  custom: {
    50: '#f991e7',
    500: '#f158dc',
    950: '#000000',
  },
}
SCSS
$custom: #f158dc;
$custom-light: #f991e7;
$custom-dark: #000000;
JSON
{
  "hex": "#f158dc",
  "rgb": {
    "r": 241,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 308.235,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70638,
    "c": 0.23497,
    "h": 333.6
  },
  "luminance": 0.30848
}

Semantic roles & 50–950 ramp

primary
#F158DC
secondary
#B8EDBF
accent
#E12305
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E16
muted
#867E84

Preview Lab

Preview with #F158DC

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

Preview Lab → · Contrast checker → · Palette generator →

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